Hi, Im begining with Matlab. I have a list of 20 values and my equation is x=sin(w2)-sin(w1), w2 is the forward value and w1 is the backward, how to do this?

댓글 수: 3

John D'Errico
John D'Errico 2017년 5월 23일
We don't know what you mean by forward value, and backward value. Jargon that you make up is known and understood only by you.
So, how to do what?
Let's say your list of values was stored in a variable w:
w = 1:6
What exactly would you expect x to be and how would you compute that (with pencil and paper / marker and whiteboard / stick and sandbox / etc.)?
I also don't know what you want. Let's say you havfe 20 w2 values and 20 w1 values in two arrays. Now, how to do what? You already have an equation for x, which is probably also a 20 element array. Do you just want to plot it, like
plot(x);
?????

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2017년 5월 23일

댓글:

2017년 5월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by