Answered

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...

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...

28 days ago | 0

Answered

How can I apply a lowpass filter samplewise in my code?

One way is movmean.

How can I apply a lowpass filter samplewise in my code?

One way is movmean.

28 days ago | 0

Answered

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...

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...

28 days ago | 1

Answered

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...

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...

29 days ago | 0

Answered

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) = ...

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) = ...

30 days ago | 0

Answered

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...

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...

30 days ago | 0

Answered

Segment connected regions in binary image

See these links: Watershed transform question from tech support ยป Watershed transform question from tech support Marker-Contro...

Segment connected regions in binary image

See these links: Watershed transform question from tech support ยป Watershed transform question from tech support Marker-Contro...

1 month ago | 0

| accepted

Answered

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 ...

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 ...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

| accepted

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 1

| accepted

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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?...

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?...

1 month ago | 0

Answered

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...

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...

1 month ago | 0

Answered

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 ...

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 ...

1 month ago | 0

Answered

How to change Fontcolor xticks and yticks

Here is a demo that shows you how to change just about everything on a plot: % Demo to make a black graph with red Y axis, gree...

How to change Fontcolor xticks and yticks

Here is a demo that shows you how to change just about everything on a plot: % Demo to make a black graph with red Y axis, gree...

1 month ago | 0

Answered

How to hide console messages for a matlab executable in batch mode

Not sure what things are showing up but if you don't want any then make sure you have semicolons after every line, and don't use...

How to hide console messages for a matlab executable in batch mode

Not sure what things are showing up but if you don't want any then make sure you have semicolons after every line, and don't use...

1 month ago | 0

Answered

Pattern recognition in Robot Vacuum Map

See if this might help: https://www.mathworks.com/help/vision/ug/abandoned-object-detection.html?s_tid=srchtitle_site_search_1_...

Pattern recognition in Robot Vacuum Map

See if this might help: https://www.mathworks.com/help/vision/ug/abandoned-object-detection.html?s_tid=srchtitle_site_search_1_...

1 month ago | 0

Answered

LCD defect detection using matlab

Yes, MATLAB is a great tool for developing image processing apps. It's easy to program in and has a great library of functions ...

LCD defect detection using matlab

Yes, MATLAB is a great tool for developing image processing apps. It's easy to program in and has a great library of functions ...

1 month ago | 0

Answered

unknown parameters in Radon transform example

"The page you were looking for does not exist. Use the search box or browse topics below to find the page you were looking for."...

unknown parameters in Radon transform example

"The page you were looking for does not exist. Use the search box or browse topics below to find the page you were looking for."...

1 month ago | 0

Answered

How to do film dosimetry?

You can use imsplit to separate an RGB image into individual component images in one line of code: % Separate RGB image into in...

How to do film dosimetry?

You can use imsplit to separate an RGB image into individual component images in one line of code: % Separate RGB image into in...

1 month ago | 0

Answered

Draw first principal component line and regression line on the same scatterplot

It looks like you're doing a simple linear fit. I'm not seeing how you're using pca. It sounds like homework and they want you...

Draw first principal component line and regression line on the same scatterplot

It looks like you're doing a simple linear fit. I'm not seeing how you're using pca. It sounds like homework and they want you...

1 month ago | 1

Answered

Trying to understand how imagesc works compared to scatter.

Scatter is an x-y plot where the origin is at the lower left, by convention. And imagesc plots an image (or matrix) where the o...

Trying to understand how imagesc works compared to scatter.

Scatter is an x-y plot where the origin is at the lower left, by convention. And imagesc plots an image (or matrix) where the o...

1 month ago | 1