Statistics
RANK
6,414
of 295,467
REPUTATION
7
CONTRIBUTIONS
42 Questions
0 Answers
ANSWER ACCEPTANCE
59.52%
VOTES RECEIVED
7
RANK
9,033 of 20,236
REPUTATION
80
AVERAGE RATING
1.00
CONTRIBUTIONS
1 File
DOWNLOADS
4
ALL TIME DOWNLOADS
809
RANK
of 153,912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
M-file created in previous version, not working in advanced version.
Hi, The m-file and Simulink model which I created in R2012b version is not working suddenly in R2013a version. Actually R2012...
10 years ago | 2 answers | 0
2
answersQuestion
how to run the simulink block four times ie., for four different conditions using for loop?
Hi, I need to run my Simulink model for four times as I have assigned four conditions. Please find the code below. k_A_...
10 years ago | 0 answers | 0
0
answersQuestion
How to perform element-wise matrix multiplication in simulink?
Hi, I have modelled the equations below in Simulink and I wanted to check them through simulation. But when modelled in Simul...
10 years ago | 1 answer | 0
1
answerQuestion
error using plot:Vectors must be the same lengths
I get this error in the plot line. V=20; t_sim=0.02; sample_distance=0.2; ts=sample_distance/V; step_time=1...
10 years ago | 1 answer | 0
1
answerQuestion
Derivative input 2 of '... /Integrator2' at time 0.012988383999014474 is Inf or NaN. Stopping simulation....
Hi, Derivative input 2 of 'Single_wheelset_susp_mass/Lateral wheelset_inertia /Integrator2' at time 0.012988383999014474 i...
10 years ago | 0 answers | 0
0
answersQuestion
How to solve division by zero error ?
Hi, I have designed a model in Simulink and when I run the program it gives a warning and an error, Warning: Division by ...
10 years ago | 1 answer | 1
1
answerQuestion
To plot the model error against time
Anyone please help me plot the model error against time in the subplot(212) V=20; t_sim=30; ...
10 years ago | 1 answer | 0
1
answerQuestion
How to assign the difference of system input and the states in the input matrix?
Hi, I'm quite confused on how to assign the input matrix which is a difference of two numbers.Well, they aren't really numbers,...
10 years ago | 1 answer | 0
1
answerQuestion
eigenvalue analysis of a state space model
Hi, I'm trying to do an eigenvalue analysis with the information from the pole-zero plot, which is as below It is ob...
10 years ago | 1 answer | 0
1
answerQuestion
How to select corresponding value from an array?
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)...
10 years ago | 1 answer | 0
1
answerQuestion
How to choose a value from the plot?
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...
10 years ago | 1 answer | 0
1
answerQuestion
How to plot multiple points on the same graph with changing values of parameters for each iteration?
Hi, I need to plot s_x vs. f_x where f_x keeps changing for each iteration . Hence f_x must be plotted against s_x for every...
10 years ago | 1 answer | 0
1
answerQuestion
How to group the corresponding elements of an array?
Hi, I'm calculating the value of a parameter f_x whose value changes according to the following conditions. I haven't s...
10 years ago | 2 answers | 0
2
answersQuestion
How to plot the five ellipses in the same figure?
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...
10 years ago | 2 answers | 0
2
answersQuestion
Colour mismatch between plot and legend
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. ...
10 years ago | 1 answer | 0
1
answerQuestion
What should be modified inside the for loop?
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...
10 years ago | 1 answer | 0
1
answerQuestion
how to save plots so that they are in the same graph for different conditions
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...
10 years ago | 1 answer | 0
1
answerQuestion
Attempted to access colors(6); index out of bounds because numel(colors)=5
Hi, I tried executing this loop, colors = ['m';'y';'b';'g';'c']; loop_ind = 1; for k1 = 1:5 figure(4); linespec ...
10 years ago | 2 answers | 0
2
answersQuestion
The colors displayed in the legend do not match the plot colors.
This is my code, colors = ['r';'m';'b';'g';'c']; symbols = ['*-';'+-';'*-';'+-';'*-']; for k1 = 1:5 colsym = [colors...
10 years ago | 1 answer | 0
1
answerQuestion
Plotting for particular values of x-coordinate
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))...
10 years ago | 2 answers | 0
2
answersQuestion
How to choose a random value from an array?
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...
10 years ago | 2 answers | 1
2
answersQuestion
How to plot multiple iterations on the same axes?
Hi, 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] ...
10 years ago | 2 answers | 0
2
answersQuestion
What should be the coding for the problem mentioned?
Hi, I have an input y whose value keeps changing for different iteration and y is being fed to two parameters namely r and R....
10 years ago | 1 answer | 0
1
answerQuestion
An expression for choosing a value from the array automatically
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...
10 years ago | 1 answer | 1
1
answerQuestion
To plot an ellipse
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 ...
10 years ago | 2 answers | 0
2
answersQuestion
How to open a .mat file in Matlab
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...
10 years ago | 3 answers | 1
3
answersQuestion
How to get the damping ratio of an underdamped response
I have got a step response which seems underdamped and I have also used the 'damp' function to retrieve the values of damping ra...
10 years ago | 1 answer | 0
1
answerQuestion
Characteristics of a time response plot
Hi, I'm trying to see the characteristics of the plot, which we normally do by right clicking on the plot. But if I right cl...
10 years ago | 1 answer | 0
1
answerQuestion
Characteristics of a step response plot
Hi, I tried getting the rise time and %overshoot from a step response by right clicking and viewing the characteristics. But ...
10 years ago | 1 answer | 2
1
answerQuestion
What does the function 'norm' do?
Please tell me what does the 2(in bold) in the below expression mean? residsumsq = norm(y-yhat, *2* )^2; Also, Is the norm...
11 years ago | 3 answers | 0