![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/14311804_1544093952421_DEF.jpg)
Lakshmikruthiga Ponnusamy
Followers: 0 Following: 0
Feeds
提问
All possible combination of variables in equation to give best result.
Suppose I have A+B = answer and A ranges from 1 to 10 and B ranges from 1 to 10. How do I use matlab to solve for all values of ...
4 years 前 | 1 个回答 | 0
1
个回答提问
error: x(2): out of bound 1
I have code of the following. I did everything I could do, but couldnt overcome this error. When I execute the below function ...
5 years 前 | 1 个回答 | 0
1
个回答提问
i have following equation. Totally there are two equations with two unknowns "x, y". But when I run it takes infinite time to solve and finally shows error. Where am I going wrong?
iter=1; Patm=100000; presB=Patm*ones(iter,1); PSB=Patm*ones(iter,1); PT=Patm*ones(iter,1); AT=0.0071094; AB=0.010010; GAM...
5 years 前 | 1 个回答 | 0
1
个回答提问
I have the following code. The values of displ in stage1 and stage2 are plotted in displ vs time graph. Thus a single curve is obtained. similarly pressure and velocity is also plotted.
I want the graph to be colored in such a way that stage one is in blue and stage 2 is in red in displ vs time graph, similarly f...
5 years 前 | 0 个回答 | 0
0
个回答提问
I have the following code. The values of displ in stage1 and stage2 are plotted in displ vs time graph. Thus a single curve is obtained.
displ=zeros(100,2) tim=zeros(100,1) for i=2:100 v=5; dt=1*10^-4; function [displ_f]=stage1(displ_i) dt=1*10^-4; v...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to access global variable inside function. Note that I am using octave. the value of variable 'a' changes continuously. I'm getting syntax error >>> global m(1,1) = a;
for i=1:10 global m(i,1) = a; function p = h() global m(i,1); m(i,1) endfunction h()
5 years 前 | 1 个回答 | 0
1
个回答提问
I have program of following format. I need the plot to be of different colors based on the if statement in program. How do I do it?
iter=1500; for I=2:iter function stage1 body //solves 2nd order ODE and gives displacement and velocity// end function func...
5 years 前 | 0 个回答 | 0