Community Profile

photo

Harry


17 2013 이후 총 참여 횟수

담당자

Harry's 배지

  • Thankful Level 2

세부 정보 보기...

참여 게시물
보기 기준

질문


How do you initialize an N*M matrix?
From the MATLAB help, it says to use: M = matrix(N, M) but when I apply this it says that the function 'matrix' is not rec...

약 1년 전 | 답변 수: 4 | 1

4

답변

질문


Using 'disp' function with variables
I have a line of code which is giving me some trouble and I cant understand why: disp('There is an ice rule violation at...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


initialising a color map
How do I create a colormap with n*m pixels which is all white and then display it?

6년 이상 전 | 답변 수: 2 | 0

2

답변

질문


calling a sequence of images for processing
I have a part of my code shown below which allocates the file name of a sequence of images so that it can be read with the imrea...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


saving an image using 'imwrite'
I'm trying to save an grayscale image to a file using imagesc(Nv) imwrite(Nv,'C:\Users\bostock_h\Documents\Images\charg...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


colormaps. how do they work?
I am trying to assign colours to an n*m matrix N, so I can then display the matrix with red and blue squares with a white backgr...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How do I initialize a n * m colormap matrix
I want to set a blank colormap (preferably all white) at the beginning of my code so elements can be added to it later. Previous...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


Finding the dimensions of an image
Is there some way of getting MATLAB to find the pixel dimensions of an image uploaded using the 'imread' command?. Or more simpl...

6년 이상 전 | 답변 수: 3 | 0

3

답변

질문


How do I exit a loop with a key hit?
So I have a loop in my code but I want to exit the loop and move onto the next set of calculations after I hit some key. I know ...

6년 이상 전 | 답변 수: 4 | 0

4

답변

질문


Tracking mouse position on figure
I'm looking for some way of turning a JPEG into a MATLAB figure (which I know how to do). And then be able click on the figure a...

6년 이상 전 | 답변 수: 2 | 0

2

답변

질문


reading images in a file
Is there some way to access many files inside a folder which have names which differ numerically. Something like this: for ...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


using testtype to check odd or even numbers
In my code I try to use an 'if' operator to check whether a number is odd or even, so the code knows whether to proceed. So some...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


using greater than or less than in 'switch' and 'case' expressions
I don't quite understand how to use the switch and case expressions to calculate when a variable is less than or greater than a ...

6년 이상 전 | 답변 수: 2 | 1

2

답변

질문


problem with subscript indices and varibles in functions
If I use the following code: function image_processing_project M = imread('C:\Users\bostock_h\Documents\Images\13051...

6년 이상 전 | 답변 수: 2 | 0

2

답변

질문


Output arguments in functions
In my code I have a some functions with an output argument c which seems to have caused some trouble as the errors are: Er...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


error due to function application
When I run the following code it gives the error: Error: File: image_processing_project.m Line: 55 Column: 1 Functio...

6년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How do I turn an image jpg image into a matrix using the 'imread' command? and image analysis
I know that I should use the `imread` command but I don't know how to retrieve an image from a particular file do I have to impo...

6년 이상 전 | 답변 수: 1 | 0

1

답변