Answered

Hello,can anyone tell me how to find out if a mushroom has disease?

I suggest you try deep learning. Input dozens or hundreds of images you say are healthy and an approximately equal number that ...

Hello,can anyone tell me how to find out if a mushroom has disease?

I suggest you try deep learning. Input dozens or hundreds of images you say are healthy and an approximately equal number that ...

4 días ago | 0

| accepted

Answered

Row to column matrix

Use .' or reshape(): A = [1 + 5i, 4 + 6i] A = A.' % Alternative 1 A = reshape(A, [], 1) % ALternative 2

Row to column matrix

Use .' or reshape(): A = [1 + 5i, 4 + 6i] A = A.' % Alternative 1 A = reshape(A, [], 1) % ALternative 2

4 días ago | 0

| accepted

Answered

delete specific rows in a table

Try this: allData = readmatrix('A.xlsx'); times = allData(:, 1); % Find out where time is a pure integer goodRows = times - ...

delete specific rows in a table

Try this: allData = readmatrix('A.xlsx'); times = allData(:, 1); % Find out where time is a pure integer goodRows = times - ...

4 días ago | 0

Answered

unrecognized function or variable in parfor

Evidently, it never gets to the line ZZ{B}(nP) = zAxis{B}(index(1)) ; % We use index(1) because there might be many minimum val...

unrecognized function or variable in parfor

Evidently, it never gets to the line ZZ{B}(nP) = zAxis{B}(index(1)) ; % We use index(1) because there might be many minimum val...

4 días ago | 0

Answered

Do you guys have any coding suggestions to classify whether the handwritten image is from autistic or normal children?

Check out section 24.4 here: http://www.visionbib.com/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Charact...

Do you guys have any coding suggestions to classify whether the handwritten image is from autistic or normal children?

Check out section 24.4 here: http://www.visionbib.com/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Charact...

4 días ago | 0

Answered

Automatic ROI Extraction/Segmentation

Attached are my demos. But the tumor one (skull_stripping_demo.m) works with only single tumors that are bright, not with image...

Automatic ROI Extraction/Segmentation

Attached are my demos. But the tumor one (skull_stripping_demo.m) works with only single tumors that are bright, not with image...

4 días ago | 0

| accepted

Answered

How to use writematrix to create a single xlsx file with multiple sheets with name of the analysis file?

You need to call writematrix() with a valid sheetname, not the filename. If you want the sheet name to be the filename you need...

How to use writematrix to create a single xlsx file with multiple sheets with name of the analysis file?

You need to call writematrix() with a valid sheetname, not the filename. If you want the sheet name to be the filename you need...

4 días ago | 1

| accepted

Answered

How can I detect constant signal patch from whole signal by using matlab script ?

If the constant is fairly flat, and is always in the upper portion (because you are not interested in flat parts near the minimu...

How can I detect constant signal patch from whole signal by using matlab script ?

If the constant is fairly flat, and is always in the upper portion (because you are not interested in flat parts near the minimu...

4 días ago | 0

Answered

I need help with Application compiler

If you shipped your library and had the user put it into some specific folder, then specify that folder fully, from the drive le...

I need help with Application compiler

If you shipped your library and had the user put it into some specific folder, then specify that folder fully, from the drive le...

4 días ago | 0

Answered

How to plot like the following figure?

data = readmatrix(xlsfileName); imshow(data, [], 'XData', [0, 500], 'YData', [300, 1200]); xlabel('D (nm)') colormap(jet(256)...

How to plot like the following figure?

data = readmatrix(xlsfileName); imshow(data, [], 'XData', [0, 500], 'YData', [300, 1200]); xlabel('D (nm)') colormap(jet(256)...

4 días ago | 0

| accepted

Answered

Trying to make a code that tells the weather

Some of the worlds smartest scientists have been using the worlds largest and fastest super computers for decades trying to do t...

Trying to make a code that tells the weather

Some of the worlds smartest scientists have been using the worlds largest and fastest super computers for decades trying to do t...

4 días ago | 0

Answered

I wrote this code and it didn't work and its gave me " Unrecognized function or variable 'seq' " error , What I can do to sole this error??

I agree with Rik that it's an uncommented alphabet soup mess of code. Anyway, have the first few lines of your program be func...

I wrote this code and it didn't work and its gave me " Unrecognized function or variable 'seq' " error , What I can do to sole this error??

I agree with Rik that it's an uncommented alphabet soup mess of code. Anyway, have the first few lines of your program be func...

5 días ago | 0

Answered

How can I use fprintf to print matrix by column?

Use commas instead of semicolons: x = [1:0.6:4] k = str2double (input ('Enter a value k: ','s')); y = [x',(x.*k)',(x.^3)'] d...

How can I use fprintf to print matrix by column?

Use commas instead of semicolons: x = [1:0.6:4] k = str2double (input ('Enter a value k: ','s')); y = [x',(x.*k)',(x.^3)'] d...

5 días ago | 0

| accepted

Answered

why do I get this error?

AIS1 has 4 or fewer columns. s = size(AIS1)

why do I get this error?

AIS1 has 4 or fewer columns. s = size(AIS1)

5 días ago | 0

| accepted

Answered

My white and black strips becomes a a black surface using imread and imshow

Try imshow with []: imshow(strips, [])

My white and black strips becomes a a black surface using imread and imshow

Try imshow with []: imshow(strips, [])

5 días ago | 0

| accepted

Answered

How to divide a vector by a constant?

The denominator with sqrt() is a vector so you need a dot before the slash y = 1 ./ sqrt(1 - (speeds .^ 2 ./ c ^ 2))

How to divide a vector by a constant?

The denominator with sqrt() is a vector so you need a dot before the slash y = 1 ./ sqrt(1 - (speeds .^ 2 ./ c ^ 2))

5 días ago | 1

| accepted

Answered

Can I create and modify variables in an Excel sheet?

Yes, they can give you data in whatever form you like - text file, csv file, xlsx file, etc. Then you can read in the file and ...

Can I create and modify variables in an Excel sheet?

Yes, they can give you data in whatever form you like - text file, csv file, xlsx file, etc. Then you can read in the file and ...

5 días ago | 0

Answered

How to save the splitted tables in excel using matlab

What do you mean by directly? You can use ActiveX if you're in Windows to directly control Excel. Or you can simply write th...

How to save the splitted tables in excel using matlab

What do you mean by directly? You can use ActiveX if you're in Windows to directly control Excel. Or you can simply write th...

5 días ago | 0

Answered

matlab code for median-mean filter

See attached modified median filter to remove salt and pepper noise.

matlab code for median-mean filter

See attached modified median filter to remove salt and pepper noise.

5 días ago | 0

Answered

For loop only completing once

ncol is 1. Use numel() instead of size(): %%trial al 6061%% clc clear workspace baseName = ["AL-6061"; "test"; "try";"woo"]...

For loop only completing once

ncol is 1. Use numel() instead of size(): %%trial al 6061%% clc clear workspace baseName = ["AL-6061"; "test"; "try";"woo"]...

5 días ago | 0

| accepted

Answered

How can I find the average of several lines whose datasets are different lengths?

I suggest you resample each curve with interp1() so that all your curves are using a common set of x values. Then simply add th...

How can I find the average of several lines whose datasets are different lengths?

I suggest you resample each curve with interp1() so that all your curves are using a common set of x values. Then simply add th...

5 días ago | 1

| accepted

Answered

license manager error -9, tried solutions

Mary, your fastest route to success is to read the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes...

license manager error -9, tried solutions

Mary, your fastest route to success is to read the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation.2C_MATLAB_crashes...

5 días ago | 0

Answered

I am struggling to get started on this MATLAB question. Any tips on how to use for loops in this? Or important things to take note of?

Do you know how to program in the MATLAB language yet? MATLAB Academy - Free 2 hour training How do I get help on homework que...

I am struggling to get started on this MATLAB question. Any tips on how to use for loops in this? Or important things to take note of?

Do you know how to program in the MATLAB language yet? MATLAB Academy - Free 2 hour training How do I get help on homework que...

5 días ago | 1

| accepted

Answered

Extracting rows in row-wise manner. How to do this?

Try this: [rows, columns] = size(A); for row = 1 : rows % Extract a row of A (all columns of it) into a new row vector, B...

Extracting rows in row-wise manner. How to do this?

Try this: [rows, columns] = size(A); for row = 1 : rows % Extract a row of A (all columns of it) into a new row vector, B...

5 días ago | 0

Answered

Verification of loaded and copied data

Not sure what you want but try subtracting and looking at absolute value of the difference diffMatrix = abs(m1 - m2); % Differe...

Verification of loaded and copied data

Not sure what you want but try subtracting and looking at absolute value of the difference diffMatrix = abs(m1 - m2); % Differe...

5 días ago | 0

| accepted

Answered

Logical operator for strings

Try it this way: prompt = 'rock(r),paper(p),or scissors(s)? Make a choice : '; user_choice = input(prompt, 's'); if ismember(...

Logical operator for strings

Try it this way: prompt = 'rock(r),paper(p),or scissors(s)? Make a choice : '; user_choice = input(prompt, 's'); if ismember(...

5 días ago | 0

Answered

please help me solve this and also tell me what i did wrong m=2x^3-2y-sqrt(x-y^3)/(1+(x-y)/(x^2+3))+sin(x/y*pi)+exp^(y/3)

Easy enough to type out, but so what. What do you want to do with m? Show it as an image or a surface or something? What rang...

please help me solve this and also tell me what i did wrong m=2x^3-2y-sqrt(x-y^3)/(1+(x-y)/(x^2+3))+sin(x/y*pi)+exp^(y/3)

Easy enough to type out, but so what. What do you want to do with m? Show it as an image or a surface or something? What rang...

5 días ago | 0

Answered

Help me out on this error

It's probably our most asked FAQ question. We've seen it at least once just today besides you. So, see the FAQ: https://matla...

Help me out on this error

It's probably our most asked FAQ question. We've seen it at least once just today besides you. So, see the FAQ: https://matla...

5 días ago | 0

Answered

Regarding 'Or' condition in if statement., this code is running in Octave but not in Matlab. Could anyone help, how to make it work in Matlab. This is just an eg.

It works perfectly fine, though in MATLAB we'd do it like this: clear all; close all; clc; Question = input('Would you like ...

Regarding 'Or' condition in if statement., this code is running in Octave but not in Matlab. Could anyone help, how to make it work in Matlab. This is just an eg.

It works perfectly fine, though in MATLAB we'd do it like this: clear all; close all; clc; Question = input('Would you like ...

6 días ago | 0

Answered

Getting error as array indices must be positive integers or logical values in slope calculation.

A thorough discussion of the error is in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_real_p...

Getting error as array indices must be positive integers or logical values in slope calculation.

A thorough discussion of the error is in the FAQ: https://matlab.fandom.com/wiki/FAQ#.22Subscript_indices_must_either_be_real_p...

6 días ago | 0