Undefined function or variable 'channelDepth'. Error in Untitled2 (line 6) 'ChannelDe​pth',chann​elDepth,..​.

numPaths = 5;
propSpeed = 1520;
channelDepth = 100;
clearvars
isopath{1} = phased.IsoSpeedUnderwaterPaths(...
'ChannelDepth',channelDepth,...
'NumPathsSource','Property',...
'NumPaths',numPaths,...
'PropagationSpeed',propSpeed,...
'BottomLoss',0.5,...
'TwoWayPropagation',true);
isopath{2} = phased.IsoSpeedUnderwaterPaths(...
'ChannelDepth',channelDepth,...
'NumPathsSource','Property',...
'NumPaths',numPaths,...
'PropagationSpeed',propSpeed,...
'BottomLoss',0.5,...
'TwoWayPropagation',true);
fc = 20e3; % Operating frequency (Hz)

2 件のコメント

Tiasa Ghosh
Tiasa Ghosh 2018 年 8 月 20 日
Your question is too vague and unclear. You need to frame the question properly for people to understand so that they can help you with the issue. Refer this: https://de.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Miftahul Firdaus
Miftahul Firdaus 2018 年 8 月 20 日
ok thank you

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 8 月 20 日
The
clearvars
is erasing all memory of the assignments you did above that point.

カテゴリ

ヘルプ センター および File ExchangeAerospace Applications についてさらに検索

製品

タグ

質問済み:

2018 年 8 月 20 日

コメント済み:

2018 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by