Top 5% contributor
Please tell me what does the 2(in bold) in the below expression mean?
residsumsq = norm(y-yhat, *2* )^2;
Also, Is the norm...
Asked 1 year ago
A half (railway) vehicle model has been designed in state space form.
1 year ago
Here is my code, where when xi_a takes a new value from xi for each iteration, the semi-axes of my ellipse changes.
Now my q...
Asked 7 months ago
I tried executing this loop,
colors = ['m';'y';'b';'g';'c'];
loop_ind = 1;
for k1 = 1:5
Asked 8 months ago
S = contact_geometry
xi = min(x_new) + (max(x_new)-min(x_new))...
Asked 9 months ago
I have an array of values and I need to frame an expression such that it chooses the value from the array automatically i...
Asked 10 months ago
deltaSignal = abs(testSignal - referenceSignal);
percentageDifference = deltaSignal ./ referenceSignal; % Percent by el...
Could anyone please tell me how to calcute the percentage of difference between two plots? Actually I'm trying to see if th...
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...
Anyone please help me plot the model error against time in the subplot(212)
When I use the following expression for calculating theta I get a value in the range specified for theta below (i.e., 0.5 to 90)...
Could someone please tell me, is it possible to do coding in such a way t...
I don't know why the legend and plots don't match. I get the legend colours as defined below but the plot colours are all blue.
For each value of f_x_loop, I need x_a to take one of the five values from s_x_index for each iteration instead of one value for...
I need to generate plots for four different conditions. So I will be having four curves on the whole. Now I get a plot fo...
I have got the semi axes, with that how to plot an ellipse in matlab. I have tried using the function 'pdeellip', but it ...
I have got a step response which seems underdamped and I have also used the 'damp' function to retrieve the values of damping ra...
Asked 12 months ago
I tried getting the rise time and %overshoot from a step response by right clicking and viewing the characteristics. But ...
Could anyone please assist me on how to plot the below piece of code,
residsumsq = norm(simout_b(:,1)-simout_a(:,1),2)^2;...
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...
I get this error ,
Subscript indices must either be real positive integers or logicals.
The line with this error is,
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
I keep getting this error while running the state space model,
Error in port widths or dimensions. Output port 1 of 'statesp...
Could someone please explain how this function works in defining the matrices
When I run my state space model, I get the following error message,
Derivative input 5 of 'statespacemodel_hvm/State-...
The m-file and Simulink model which I created in R2012b version is not working suddenly in R2013a version. Actually R2012...
Asked 6 months ago
I have designed a model in Simulink and when I run the program it gives a warning and an error,
Warning: Division by ...
I'm calculating the value of a parameter f_x whose value changes according to the following conditions.
I haven't s...
I'm trying to plot the below.
In x-axis, I have
s_x_index=[0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10]
Join the conversation