Réponse apportée
What is the approach to simultaneously changing the brightness on both the GUI axes and figure?
What do you mean by "brighten" the figure? Do you mean that you want the background color to become a lighter shade of gray (or ...

plus de 13 ans il y a | 0

Réponse apportée
Standard deviation ignoring 0s in matrix
One easy way would be to convert all zeros to NaN, and then use the nanstd function to ignore the NaNs in the std calculation. ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
How to extract data from a figure which contains a uitable?
The number that is given when you do get(gcf,'Children') is the handle to one of the child objects (presumably the uitable if th...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Mapping colored image on grayscale
What do you want the resulting image to look like? Do you want the brain to render as gray, with the tumor shown in the flame-li...

plus de 13 ans il y a | 0

Réponse apportée
rows which do not contain zero
row = any(D,2); rowCount = sum(row); %number of rows with non-zero elements

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Brain tumor detection in CT data
Hi Peter, Nobody is going to be able to give you a full turnkey solution to your problem, largely because a) such a task is p...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
I have a code for Powell's hybrid method for optimization can any one change it to Matlab
Hi Raj, This code appears to be written in Fortran. In general, nobody on this forum is going to have the time to convert you...

plus de 13 ans il y a | 1

Réponse apportée
How can i store the labeled coordinates in differnt arrays?
Run regionprops() on B, and then look at the 'PixelList' property.

plus de 13 ans il y a | 0

Réponse apportée
Need help with a While loop
I reformatted the code for easier reading. A few questions: # 1. what are X and Y for? They don't appear to be used anywhere...

plus de 13 ans il y a | 0

Réponse apportée
Modifying impixelinfo to display 3d coordinates
I don't believe that impixelinfo or impixelinfoval allows you to specify a custom callback, which is what you would need to do w...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
matrix turning nans to 1
Let M be your matrix. M(isnan(M))=1;

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
encryption of .mat files
Hi Khaled, This hasn't gotten any bites yet, so I thought I'd take a stab at it, although I am not an encryption expert by an...

plus de 13 ans il y a | 1

Réponse apportée
irregular ,specific geometric shapes
Hi selim, I've actually worked on a similar problem of trying to match irregular shapes from a pattern of other shapes. (In m...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Create a 4-pole, 300-6000HZ bandpass butterworth filter?
If you have the Signal Processing Toolbox, you can use the 'butter' function. doc butter Also, you mention that you hav...

plus de 13 ans il y a | 0

Réponse apportée
Computing the curvature of a boundary
Hi Said, I have done something similar. Here's one approach: If you have the Spline Fitting Toolbox, you can use the periodic...

plus de 13 ans il y a | 0

Réponse apportée
Proper implementation and use of fmincon
Hi Mitesh, I'm confused as to your problem formulation. The x(1)=[1 2 3 4] and x(2)=[6 7 8] are not valid MATLAB. What does t...

plus de 13 ans il y a | 0

Réponse apportée
Manipulate data in cells
Hi Rebecca, I think it would be easiest just to loop through all of the elements of the matrix. To access a given element in...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Selecting a particular part of a string variable
Regular expressions might provide an easier way. fcn = @(s) regexpi(s, '^(\D+)', 'match', 'lineAnchors'); %regex function ...

plus de 13 ans il y a | 0

Réponse apportée
GUI: draw 2 point
One way to do it is to reset the callback 'windowbuttondownfcn' after two clicks. Something like this: function pushbutton1...

plus de 13 ans il y a | 0

| A accepté

Question


Documentation of 'spectrum' function from Matlab 5.x releases?
Hi everyone, I am upgrading some very old code that I inherited. The function comments indicate that code was originally writ...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to get specific data with an input, without using eval command
Hi Juan, I agree that you should be able to do it without eval. However, I am still a little unclear how you want your code t...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
accelerating code in matlab - for loop
Could you please format your code properly? It is difficult to tell which lines are commented, etc. Please edit your question to...

plus de 13 ans il y a | 0

Réponse apportée
Maximum separation of certain points on a 2d plot
You write that "the optimum kx+b line should separate points in such a manner so that there are no points with label 1 in region...

plus de 13 ans il y a | 0

Réponse apportée
Skull striping without affecting tumor region
If you have the Image Processing Toolbox, you can use 'regionprops' to identify the various objects after your thresholding. For...

plus de 13 ans il y a | 1

Réponse apportée
'terminator ' 'LF'
The 'terminator' character is an ASCII character (in this case, ASCII char 10) that MATLAB looks for from the serial port to ind...

plus de 13 ans il y a | 0

Réponse apportée
Smart Solution needed (reading bar code)?
This isn't really a MATLAB question, but anyway.... What exactly do you mean by "manage the extraction or carrying out the su...

plus de 13 ans il y a | 1

Réponse apportée
*Import data from a file - HELP*
I would first read the file into a string using fileread(). You should then be able to parse the file using regexp(), with the ...

plus de 13 ans il y a | 0

Réponse apportée
I have a closed outline How t associate a label for each pixel that exit in the region limited by outline
Can you clarify what you are trying to do? Is the closed outline in an image? In that case, use bwboundaries() to get the pixels...

plus de 13 ans il y a | 0

Réponse apportée
how to get boundary of a hand image???
Images in MATLAB are read in as row x column matrices, like any other matrix. Thus, the horizontal position of a given pixel is ...

plus de 13 ans il y a | 0

Réponse apportée
SEGMENTATION
There is no generic code that we can send you--it entirely depends upon your image. Regions of interest can be identified using ...

presque 14 ans il y a | 0

Charger plus