![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/32140974_1700239612991_DEF.jpg)
Puja
Followers: 0 Following: 0
Statistics
8 Questions
0 Answers
RANK
232 984
of 293 471
REPUTATION
0
CONTRIBUTIONS
8 Questions
0 Answers
ANSWER ACCEPTANCE
37.5%
VOTES RECEIVED
0
RANK
of 20 032
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148 733
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
After adding a command to get dotted line graph I am still getting solid line only in the legend i am getting dotted line
plot(x1 - x2,F,':g'); xlabel('Displacement(m)') ylabel('Spring Force(N)') legend('F')
3 månader ago | 1 answer | 0
1
answerQuestion
I am trying to plot a graph of two variables z1 and z2 versus t. but for some values of t I am getting z2 values negative in a graph. How to make these z2 values zero?
I am trying to plot a graph of two variables z1 and z2 versus t. but for some values of t I am getting z2 values negative in a g...
6 månader ago | 2 answers | 0
2
answersQuestion
I am unable to run this program.
second_oder_ode function second_oder_ode % SOLVE d^2x2/dt^2 = (k(Asin(wt)-x2)-cA(dx/dt)/h)/m % initial conditions: x(0...
7 månader ago | 1 answer | 0
1
answerQuestion
I am getting error not enough input arguments.
function fval=massSpringFun(t,y) %Function for mass-spring system %Define constants m=1; c=0.001; k=100; h=0.01; x1=0.01;...
7 månader ago | 1 answer | 0
1
answerQuestion
I should get a straight line graph in this equation after substituting initial conditions. I dont know where I am getting wrong. Can anyone help me with this?
tspan=[0,1]; z0=[0,0.01,0,0]; %initial position and velocity %[x0,vx0,y0,vy0] %solve the ODEs [t, z]=ode45(@rhs,tspan,z0); ...
7 månader ago | 1 answer | 0
1
answerQuestion
can anyone help me to get rid of the error not enough input arguments in line 7?
m = 2; c = 0.4; k = 4; x0 = [10; 0]; Time_Span = [0, 40.0]; xdot = zeros(2,1); xdot(1) = x(2); xdot(2) = -(1/m)*(c*x(2...
7 månader ago | 1 answer | 0
1
answerQuestion
Can anyone help me to get the graph of x2 vs t and x1 vs t using ode 45? md^2x2/dt^2-k(x1-x2)+c(dx2/dt)/h=0, m=1,k=100,c=0.001,h=0.01, at t=0,x1=0,x2=0,dx1/dt=0.01 ,dx2/dt=0
7 månader ago | 1 answer | 0
1
answerQuestion
I am not getting a graph for my matlab program but I can run a program . I am attaching my file. can anyone help me with this?
clear all; global m k c w_f F0 m=2; k=2000; c=10; w_f=12; F0=5; dt=0.005; t=0:dt:2; y0=[0 0.5 0]; %ODE function funct...
7 månader ago | 2 answers | 0