Beantwortet
Is there a meaningful guideline on when to use parentheses vs square brackets vs curly brackets in writing MatLab code?
@Jerome yes there is. If you look at this FAQ entry: What is a cell array I think that it gives a pretty good intuitive idea ...

mehr als ein Jahr vor | 1

Beantwortet
This is face morphing. Now I want to save and convert to a gif image format.
That is not face morphing. Morphing is not just a weighted sum of images. The image needs to be warped before adding. So you ...

mehr als ein Jahr vor | 0

Beantwortet
If f1(x,y)≤z≤f2(x,y), how to draw the range of z?
Do you want just the magnitude of the range, without visualizing the starting and stopping points? If so you can just subtract ...

mehr als ein Jahr vor | 0

Beantwortet
Unable to create a exponential graph
I don't know how to do it in Simulink, but this seems to work fine in MATLAB: uTemperatureRange = linspace(10, 200, 1000); yDe...

mehr als ein Jahr vor | 0

Beantwortet
How to quantify shape similarity between two vectors.
See the Mathworks page on spectral signature matching: https://www.mathworks.com/help/images/target-detection-and-spectral-matc...

mehr als ein Jahr vor | 0

Beantwortet
Exporting Graphs from Matlab App in PNG or JPG
Assuming it's the current/active figure, try exportgraphics(gcf, 'ECRTools.png'); in the command window. help exportgraphics

mehr als ein Jahr vor | 0

Beantwortet
Automatically add prefix to loaded sheetname, and output,
You have a new workbook with the new name 'reshapedMaleControl.xlsx'. If your original workbook had multiple sheets, it looks l...

mehr als ein Jahr vor | 0

Beantwortet
How to interpret the wrong image background of data augmentation?
Why are you calling imcomplement? Try not doing that. What is the original background: white or black? Finally, you could j...

mehr als ein Jahr vor | 1

Beantwortet
Matlab executable throws error in opc.ua.Client
Try including that file explicitly in your compilation, something like mcc yourapp.m -a " C:\Program Files\MATLAB\MATLAB Runtim...

mehr als ein Jahr vor | 0

Beantwortet
How can I apply a lowpass filter samplewise in my code?
One way is movmean.

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
What would cause Matlab to lose track of gcf()?
Don't do it like that: gcf().something. Assign something to gcf, like g: g = gcf; % No parentheses after gcf. I think a figur...

mehr als ein Jahr vor | 1

Beantwortet
How do I change the output color when using the disp function?
See this File Exchange entry by @Yair Altman https://www.mathworks.com/matlabcentral/fileexchange/24093-cprintf-display-formatt...

mehr als ein Jahr vor | 0

Beantwortet
Assigning features to the matrix based on windowing
Why not just tack on the condition and device as the last two rows in your loop? feature{4}(k) = data(k, 2); feature{5}(k) = ...

mehr als ein Jahr vor | 0

Beantwortet
How to determine the midline in brain images.
Hard for us to say, don't you think, without seeing an image? What is the midline? Is it just the geometric midline as determi...

mehr als ein Jahr vor | 0

Beantwortet
Segment connected regions in binary image
See these links: Watershed transform question from tech support » Watershed transform question from tech support Marker-Contro...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
I need help please to obtain histogram clonocolour values of TIF type photos. I can do this separately but i am struggling to do this with multiple images at a time.
Rather than try to figure out how many cells are there, I'd just simply compute the area fraction of purple. It will correlate ...

mehr als ein Jahr vor | 0

Beantwortet
how to divide a color image into multiple binary codes
Not sure what you mean by binary codes. Please explain. How is that different than just a simple tile of the image you extract...

mehr als ein Jahr vor | 0

Beantwortet
problemas con reconocer licencia
Do exactly what it says to do in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_erro...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to plot temperature along a defined line within a 2D temperature field
I know you already got an answer that you've accepted but I just thought I'd mention improfile. It can give you a profile of va...

mehr als ein Jahr vor | 0

Beantwortet
Open and read unique spectrum file .spc
If youi're dealing with Spectroscopy, you really need to get GSTools library. It has functions to read SPC file(s), and other u...

mehr als ein Jahr vor | 0

Beantwortet
the username and password?
Ask your professor how to do it, or another student who has done it successfully. If that doesn't work, see the FAQ: https://m...

mehr als ein Jahr vor | 0

Beantwortet
I need to innovatively produce a 140x8 matrix filled with random grades from 140 students
Not sure what qualifies as "innovative" but how about making a matrix of all prime numbers, rescaled? % Get a list of 8*140 pri...

mehr als ein Jahr vor | 0

Beantwortet
Projection of satellite image
Try the Registration Estimator app on the Apps tab of the tool ribbon. I haven't used it but with most or all apps, you can exp...

mehr als ein Jahr vor | 0

Beantwortet
MATLAB Plots *.tif According to Light
This is what I got so far: % Initialization steps. clc; % Clear the command window. close all; % Close all figures (excep...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
choose random places on matrix
Simply use randperm and linear indexing. No need to figure out or convert locations to (row, column) indexes (that's a waste of...

mehr als ein Jahr vor | 0

Beantwortet
Working in Excel with live on MATLAB
You can interact with Excel "live" if you are using Windows and use ActiveX. I attach a demo for that, ExcelDemo. You can stop...

mehr als ein Jahr vor | 0

Beantwortet
Force saved figure to use a specific number of pixels
"I am saving different maps" <== What, like a road map, or an image with different colormaps? "I save my image" ...with "... ex...

mehr als ein Jahr vor | 0

Beantwortet
MATLAB Plots *.tif According to Light
In your 3D-ish rendering, where exactly are the shadows? And the yellow spots? Can you point to them with arrows or something?...

mehr als ein Jahr vor | 0

Beantwortet
Need help to removing motion (breathing?) artifact from ECG signal
I'm sure it's been done before. Rather than me just guessing, I suggest you search the medical literature in PubMed to find art...

mehr als ein Jahr vor | 0

Beantwortet
How to give Gray color histogram gray shade instead of blue
Try using the 'FaceColor' input of histogram. % Create sample data. data = rand(1, 1000); % Define custom color. grayColor ...

mehr als ein Jahr vor | 0

Mehr laden