Question


How to plot this ?
Could anyone please assist me on how to plot the below piece of code, residsumsq = norm(simout_b(:,1)-simout_a(:,1),2)^2;...

10 years ago | 1 answer | 0

1

answer

Question


How to enter the R-square fit formula in the m-file?
I need to calculate the R-square fit for the model output. I have the formula for calculating it, but how to give it in the code...

10 years ago | 1 answer | 0

1

answer

Question


What should be the plot command?
deltaSignal = abs(testSignal - referenceSignal); percentageDifference = deltaSignal ./ referenceSignal; % Percent by el...

10 years ago | 2 answers | 0

2

answers

Question


How to compute the percentage of difference between two plots?
Hi, Could anyone please tell me how to calcute the percentage of difference between two plots? Actually I'm trying to see if th...

10 years ago | 2 answers | 1

2

answers

Question


Error:Subscript indices must either be real positive integers or logicals.
Hi, I get this error , Subscript indices must either be real positive integers or logicals. The line with this error is, ...

10 years ago | 1 answer | 0

1

answer

Question


How does this matlab function works?
If I give an input delay of 0.1350 to the state space system, it doesn't make any difference to the system's response ss_mode...

10 years ago | 1 answer | 0

1

answer

Question


Which function can be used?
What function is used to define the input matrix B which is of size 14x2? The size of matrix A is 14x14. If I give it as B=zeros...

10 years ago | 1 answer | 0

1

answer

Submitted


state space model of the vehicle system
A half (railway) vehicle model has been designed in state space form.

10 years ago | 2 downloads |

Question


How to solve this error?
I keep getting this error while running the state space model, Error in port widths or dimensions. Output port 1 of 'statesp...

10 years ago | 5 answers | 0

5

answers

Question


Matlab function for defining the size of a matrix
The size of matrix A (in the model) is 14x14 B= 14x2 C= 14x14 D= 14x2 Now I need to know, how to use the function below to ...

10 years ago | 1 answer | 0

1

answer

Question


How does this matlab function works?
Could someone please explain how this function works in defining the matrices For example, B=zeros(size(A,1),1); C=eye(si...

10 years ago | 1 answer | 0

1

answer

Question


How to solve the block error in the simulink model?
Hi, When I run my state space model, I get the following error message, Derivative input 5 of 'statespacemodel_hvm/State-...

10 years ago | 1 answer | 0

1

answer

Question


How to change the axis limits?
Hi, I have been trying to reverse engineer a vehicle model and to check if I get back a similar response by creating my own mod...

10 years ago | 2 answers | 0

2

answers