V12(:,:,h)=(((tau2(:,:,h)-tau2R(:,:,h)).^2+((tau3(:,:,h)- tau3R(:,:,h)).^2).^0.5)./7)));
1 回表示 (過去 30 日間)
古いコメントを表示
Namrata Chandel
2022 年 4 月 29 日
コメント済み: Namrata Chandel
2022 年 4 月 29 日
How to fix its brackets.
0 件のコメント
採用された回答
Walter Roberson
2022 年 4 月 29 日
You have a number of "zero-width space" characters in your code, such as immediately before the "=" character. You have to fix that.
S = 'V12(:,:,h)=(((tau2(:,:,h)-tau2R(:,:,h)).^2+((tau3(:,:,h)- tau3R(:,:,h)).^2).^0.5)./7)));' ;
find(S == 8203)
V12(:,:,h)=(((tau2(:,:,h)-tau2R(:,:,h)).^2+((tau3(:,:,h)- tau3R(:,:,h)).^2).^0.5)./7)));
1 0 123 4 3 4 32 34 5 4 5 43 2 1 0??
You have two more ) than you have (
5 件のコメント
Walter Roberson
2022 年 4 月 29 日
V = sqrt(sum( n .* (tau - tauR).^2 ) ./ sum(n))
This assumes that tau and n are both vectors with the same orientation. If they are 2D arrays then you might need to be more specific about which dimension you sum() over.
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!