how to replace 1 element in matrix
古いコメントを表示
I have matrix A and its a 4 by 5 I want to replace the element (3,4) and create a new matrix for it and name it B what would I do? D = A(3,4)=75 is what I have input but theres an error with to may = signs
回答 (1 件)
D = A(3,4) % thats it
Please don't ask very simple and basic questions in the community. Take a tutorial on basics of MATLAB.
2 件のコメント
Brendan Steele
2022 年 1 月 27 日
KSSV
2022 年 1 月 27 日
You can take a bsic turotials on this link:
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!