What is wrong with A = alter(a)?

조회 수: 2 (최근 30일)
Eiman Rana
Eiman Rana 2021년 9월 19일
답변: yanqi liu 2021년 11월 5일
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'.

답변 (2개)

Steven Lord
Steven Lord 2021년 9월 19일
which -all alter
'alter' not found.
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
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
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

카테고리

Help CenterFile Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by