Community Profile

Contact

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...

3 Answers

0

Asked 2 years ago

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

3 downloads

2 years 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...

2 Answers

Asked 1 year ago

Hi, I tried executing this loop, colors = ['m';'y';'b';'g';'c']; loop_ind = 1; for k1 = 1:5 figure(4); linespec ...

load('wheel_rail_AW.mat') S = contact_geometry x_new=S.y; y_new =S.r_R; xi = min(x_new) + (max(x_new)-min(x_new))...

Hi, I have an array of values and I need to frame an expression such that it chooses the value from the array automatically i...

1 Answers

1

deltaSignal = abs(testSignal - referenceSignal); percentageDifference = deltaSignal ./ referenceSignal; % Percent by el...

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

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...

Anyone please help me plot the model error against time in the subplot(212) V=20; t_sim=30; ...

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)...

plot(contact_geometry.y-d,contact_geometry.r_L) 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...

Hi, 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...

Hi, I have got the semi axes, with that how to plot an ellipse in matlab. I have tried using the function 'pdeellip', but it ...

Hi, I'm trying to open a .mat file in Matlab, but am unble to do it. I followed the instructions from this link below, <h...

I have got a step response which seems underdamped and I have also used the 'damp' function to retrieve the values of damping ra...

Hi, 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...

Hi, 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 ss_mode...

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 For example, B=zeros(size(A,1),1); C=eye(si...

Hi, When I run my state space model, I get the following error message, Derivative input 5 of 'statespacemodel_hvm/State-...

Hi, The m-file and Simulink model which I created in R2012b version is not working suddenly in R2013a version. Actually R2012...

Hi, I have designed a model in Simulink and when I run the program it gives a warning and an error, Warning: Division by ...

Hi, I'm calculating the value of a parameter f_x whose value changes according to the following conditions. I haven't s...

Load more