how to write equation in matlab to find corresponding graph; equations are given in attached file

 채택된 답변

Bastien Rouzé
Bastien Rouzé 2017년 8월 16일

0 개 추천

You must define all your variables and a time array with a time step " dt ". Then you write R a variable using all constants defined and the time array. Finally, R and the time array should have the same size, so you could plot them using plot(time_array,R)...
for example :
dx = 0.1;
x = 0:dx:10;
cst = 5;
y = cos(x) + cst;
plot(x,y);

댓글 수: 1

vinod kumawat
vinod kumawat 2018년 9월 23일
How to write Sigma summation block in the script please?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

질문:

2017년 8월 16일

댓글:

2018년 9월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by