We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am running the code and the program shows below error
Error using .* Matrix dimensions must agree.
Error in OnlineDMD/initialize (line 86) Xq = Xq.*weight;
Error in online_demo (line 79) odmd.initialize(x(:,1:q),y(:,1:q));
Could you please help me resolve it!
The text was updated successfully, but these errors were encountered:
Try Xq = Xq * weight? I did not seem to find the <.*> operation in my code, could you please direct me to the line of code?
Sorry, something went wrong.
Please refer to below link
odmd/matlab/OnlineDMD.m
Line 86 in b75539a
Hey, so the matrix must be of shape (n, q) (q by n will not work), where n is state dimension and q is the first q snapshots (q > n). See this https://github.com/haozhg/odmd-matlab/tree/main/matlab for example usage. Also, i would recommend using the python implementation: https://github.com/haozhg/odmd#use-pip, just need pip install odmd
pip install odmd
No branches or pull requests
I am running the code and the program shows below error
Error using .*
Matrix dimensions must agree.
Error in OnlineDMD/initialize (line 86)
Xq = Xq.*weight;
Error in online_demo (line 79)
odmd.initialize(x(:,1:q),y(:,1:q));
Could you please help me resolve it!
The text was updated successfully, but these errors were encountered: