필터 지우기
필터 지우기

Matlab 2018a gives errors for simple statements like w=1;Is this due to installation error?

조회 수: 1 (최근 30일)
The Marlab script window shows an error on very simple commands such as w=1; See attached jpg file

채택된 답변

Walter Roberson
Walter Roberson 2021년 2월 12일
Vel=8.0;[top_left
You started creating an array, but you did not finish creating it before you started an assignment.

추가 답변 (1개)

PADMAKAR
PADMAKAR 2021년 2월 12일
sr=1.00;
Fs=1000;
bt=-80;et=80;
fpeak=40;
% WaveTyp='Ricker';
phstyp='zero';
% phstyp='quadrature';
Vel=8.0;[top_left
%scale=-100;
wt = 0:1:80; % The red error indicator comes below the "=" sign. Cannot understand why for a simple expression.
The errors are:1. Invaid Syntax & 2.Expression cannot be assigned to multiple values. I have yets to assign the function to multiple values and this gives me an error. Can this be an Matlab installation issue?

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by