Undefined function or variable t1
조회 수: 2 (최근 30일)
이전 댓글 표시
clc;
clear all;
close all;
w=1;
t=0:0.001:2*pi;
M1=2e6;
M2=2e9;
M=M2;
for i=1:length(t)
v(i)=2*sin(w*t(i));
if v(i)==1.5
t1=t(i);
end
if v(i)==-1.5
t3=t(i);
end
end
t=0:0.001:2*pi;
댓글 수: 1
Torsten
2015년 6월 15일
I doubt that the error message stems from the part of code you posted.
Best wishes
Torsten..
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Solar Power에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!