hello I have 2 question .
1)first what is the diffrnce between the opretion * and .* ? as i undestand it the diffrnce is that you use * when multiplaying scalras and using .* when multiplaying vectors , am i right ?
2) the second question is that I wrote this code :
my question is how can I display my x line as function of pi (meaning 1pi ,2pi,3pi,4pi and so on ) ?
clc;clear all;close allx=0:0.01:(6*pi)beta=pi/7alpha=pi/5y_1=sin(x*alpha).*cos(x*beta) y_2=cos(x*alpha).*sin(x*beta) y_3=y_1+y_2 y_4=sin(x*alpha+x*beta) figure(1) plot(y_3) figure(2) plot(y_4)
Best Answer