Change input user 0 to -1
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to make some program which required input from user. I want to make the program works this way
for example if user input : x = [1 1 1; 0 1 1; 0 0 0; 1 1 0;] then matlab will automatically change it into x = [1 1 1; -1 1 1; -1 -1 -1; 1 1 -1;] before processing it to some formula
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!