Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

When does the error Matrix dimension exceeds comes?

1 vue (au cours des 30 derniers jours)
as825
as825 le 21 Jan 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
The formula (x-d:x+d,y-d:y+d) is used to find a square region inside a circular feature.In a 512X512 image when the values of x,y and d are the following x=501 y=237 d=4 it displays matrix dimension exceeds. What is the problem in it?

Réponses (1)

Amit
Amit le 21 Jan 2014
for whichever matrix you are applying (x-d:x+d,y-d:y+d), can you first do a
whos A
to check if the size of the array is 512x512. Because otherwise it should work.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by