What is wrong with A = alter(a)?
1 回表示 (過去 30 日間)
古いコメントを表示
N = 500;
A = zeros(N);
A(20:50, 75:100) = 6;
for i = 1:10
A = alter(A);
figure(1);
imagesc(A);
pause
end
When I run this, it shows me an error Undefined function or variable 'alter'.
0 件のコメント
回答 (2 件)
Steven Lord
2021 年 9 月 19 日
which -all alter
What function are you trying to call?
From the tag can I assume you're trying to use Computer Vision Toolbox? Looking at the list of functions in that toolbox I don't see one named alter.
1 件のコメント
Walter Roberson
2021 年 9 月 20 日
I searched all of the .m files for all of the toolboxes that I have (I have most but not all). I was not able to find any function named alter or any class method named alter
yanqi liu
2021 年 11 月 5 日
clc; clear all; close all;
N = 500;
A = zeros(N);
A(20:50, 75:100) = 6;
for i = 1
A = alter(A);
figure(1);
imagesc(A);
%pause
end
function A=alter(A)
A = imadjust(A);
end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!