What is wrong with A = alter(a)?

1 visualización (últimos 30 días)
Eiman Rana
Eiman Rana el 19 de Sept. de 2021
Respondida: yanqi liu el 5 de Nov. de 2021
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'.

Respuestas (2)

Steven Lord
Steven Lord el 19 de Sept. de 2021
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 comentario
Walter Roberson
Walter Roberson el 20 de Sept. de 2021
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

Iniciar sesión para comentar.


yanqi liu
yanqi liu el 5 de Nov. de 2021
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

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by