Feeds
提问
two outputs of a function
function [cnt,A] = matrice_nou_vechi(A,noua,veche) cnt=0; for row=1:size(A,1) for col=1:size(A,2) if(A(row, col)...
5 years 前 | 2 个回答 | 0
2
个回答提问
i am trying to make a half wave rectified sine wave plot. what am i doing wrong?
T=2; t = 0:pi/100:2*pi; w=2*pi/T; if(sin(w*t)<0) y=0; else y=sin(w*t); end plot(t, y);
5 years 前 | 1 个回答 | 1

