rantunes
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
Using ode45 Simulink - Anonymous Functions
Hey, I am new in Simulink and tried to migrate (with some necessary modifications) a code I made in Matlab into Simulink to h...
9 years 前 | 1 个回答 | 1
1
个回答提问
Reset vs Held in While Iterator Simulink
Hey, I am new in Simulink programming and I am quite struggling with the distinction between Reset and Held for the while ite...
9 years 前 | 0 个回答 | 0
0
个回答已回答
How can I create a discrete signal that starts from 0?
Hey, In Matlab the vectors begin at 1. So you have to live with it and your sequence x[n] for n = 0,1,2,3,...,7, should be ch...
How can I create a discrete signal that starts from 0?
Hey, In Matlab the vectors begin at 1. So you have to live with it and your sequence x[n] for n = 0,1,2,3,...,7, should be ch...
9 years 前 | 0
已回答
Question about syntax (commas and colons)
Hey, When I do _a(:,3:4) = 2_, the 3rd and 4th *columns* turn into 2 as should be expected. The other command _a(3:4,:) = 2_ ...
Question about syntax (commas and colons)
Hey, When I do _a(:,3:4) = 2_, the 3rd and 4th *columns* turn into 2 as should be expected. The other command _a(3:4,:) = 2_ ...
9 years 前 | 2
已回答
What is the best vectorized way to construct the following matrix
Hey, In a glance, it seems that the best way to implement is to do it block by block. B = zeros(k+1,k+1); for i ...
What is the best vectorized way to construct the following matrix
Hey, In a glance, it seems that the best way to implement is to do it block by block. B = zeros(k+1,k+1); for i ...
9 years 前 | 0
已回答
what does it mean
Hey You can answer your question by running: for k = (i-1):-1:1; k end Greets
what does it mean
Hey You can answer your question by running: for k = (i-1):-1:1; k end Greets
9 years 前 | 0
已回答
turning a vector or matrix into an integer
Hey, As far as I understood, you want to something like this: integer = x(end); Greets
turning a vector or matrix into an integer
Hey, As far as I understood, you want to something like this: integer = x(end); Greets
9 years 前 | 2
| 已接受
已回答
Newton Raphson m-file
Hey, I guess here you can find an helpful solution to your problem http://www.mathworks.com/matlabcentral/answers/107508-solv...
Newton Raphson m-file
Hey, I guess here you can find an helpful solution to your problem http://www.mathworks.com/matlabcentral/answers/107508-solv...
9 years 前 | 0
| 已接受
已回答
How to stop the program and store the scalar variable and rerun the program and plot scalar against scalar
Hey, As I can understand from your code, you have alpha = 0, no? And another thing is that you want to plot each point at ...
How to stop the program and store the scalar variable and rerun the program and plot scalar against scalar
Hey, As I can understand from your code, you have alpha = 0, no? And another thing is that you want to plot each point at ...
9 years 前 | 1
| 已接受
已回答
Help plotting a while loop
Hey, Notice that you are always updating a new value of x and y at each iteration, so in the end you have not a pair of vecto...
Help plotting a while loop
Hey, Notice that you are always updating a new value of x and y at each iteration, so in the end you have not a pair of vecto...
9 years 前 | 0
| 已接受
已回答
Help with solution of a horrible equation
Hey, Can you please show your implementation? Thanks
Help with solution of a horrible equation
Hey, Can you please show your implementation? Thanks
9 years 前 | 0
已回答
how can i assign a full row into a new row?
Hey, I am not sure if I really got your point, but what you want do is not this: P = T(1,1:4); Q = T(1,5:8); ? Gree...
how can i assign a full row into a new row?
Hey, I am not sure if I really got your point, but what you want do is not this: P = T(1,1:4); Q = T(1,5:8); ? Gree...
9 years 前 | 0
已回答
how world i find the lowest root with bisection
Hey, You have to be more specific. I suspect your code doesn't even run due to non-coherent syntax. What do you want to do...
how world i find the lowest root with bisection
Hey, You have to be more specific. I suspect your code doesn't even run due to non-coherent syntax. What do you want to do...
9 years 前 | 0
已回答
importing data and plotting
Hey, your file s2 has only one column? Try to make length(s2). It should be the same as length(t). Greets
importing data and plotting
Hey, your file s2 has only one column? Try to make length(s2). It should be the same as length(t). Greets
9 years 前 | 1
| 已接受
已回答
how to convert integer array to one value??
Hey, You can also use another (more mathematical) approach: x = [1;2;3;4;5]; y = 0; for i = 1:length(x) y =...
how to convert integer array to one value??
Hey, You can also use another (more mathematical) approach: x = [1;2;3;4;5]; y = 0; for i = 1:length(x) y =...
9 years 前 | 0
提问
Solving System of ODEs using for cycles to reproduce summing
Dear all, Thank you first all for your attention reading this post. I am a kind of new in Matlab so it might be that the a...
10 years 前 | 1 个回答 | 0