Community Profile

photo

Joshua Major


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


My code will not run after adding in the code after function dydt=myFunc(t,y)
%clear,clc %why is call_myFunc not read Q_A=0; P_1=0; Q_B=0; P_2=0; [y(1),y(2),y(3),y(4)]=deal(Q_A,P_1,Q_B,P_2); [T,Y]=ca...

2 years ago | 1 answer | 0

1

answer

Question


My graph won't display when I run my code. How do I get it to show?
Q_A=0; P_1=0; Q_B=0; P_2=0; function [T,Y]=call_myFunc() tspan=[0 8*pi]; ICs=[0,0,0,0]; [T,Y]=ode45(@myFunc,t...

2 years ago | 1 answer | 0

1

answer