Answered
Not enough input arguments
You forgot to make the first input a function handle, using an @ character. The code below ran without errors for me. data=...

8 years ago | 0

| accepted

Answered
I need to find the various image processing parameters like area of the corona, center of the inner contour, minimum and maximum radii, fractality of the image. How can I do so?
The first thing you must learn as a programmer is to split up your question into discreet solvable parts. You just asked a multi...

8 years ago | 0

| accepted

Answered
I am getting more time complexity ,can you possibly minimize the code
for k = 1 : numel(h) indexH = floor(8 * h(k)); indexS = floor(2 * s(k)); indexV = floor(2 * v(k)); h(k)...

8 years ago | 1

Answered
How to find inverse of a self-written function in matlab?
The first hit in my favorite internet search engine was the <https://www.mathworks.com/help/symbolic/finverse.html |finverse|> f...

8 years ago | 0

Answered
Set width of vector interval to plot.
I doubt this is possible with a single line object, but you can still do this. You can use the fact that |plot| will stop plotti...

8 years ago | 0

| accepted

Answered
How can i save the output of " imagesc " as the exact resolution ?
Look into <https://www.mathworks.com/help/releases/R2017b/matlab/ref/imwrite.html |imwrite|> (you might need <https://www.mathwo...

8 years ago | 0

Answered
From a matrix, remove a number from each row (in this case " Inf " )
I tested it with an extra row: A=[ 3 4 Inf 2 3 4 1 Inf 4 Inf 1 2 4 4 ...

8 years ago | 1

| accepted

Answered
2d slice from 3d plot of spheres
You could use <https://www.mathworks.com/matlabcentral/fileexchange/27390-mesh-voxelisation |voxelise| (FEX)> and then select yo...

8 years ago | 0

| accepted

Answered
Dear all, I am new to Matlab. I just want to know, what is the best possible way to label the concentric lines in increasing order such as 1,2,3......from the right side of the attached figure?
You can use <https://www.mathworks.com/help/images/ref/bwlabel.html |bwlabel|> to convert this to a labelmap, and then count the...

8 years ago | 0

Answered
how to load spefic sheet of excel workbook in matlab?
The documentation for <https://www.mathworks.com/help/releases/R2017b/matlab/ref/xlsread.html |xlsread|> explains how to do eith...

8 years ago | 0

| accepted

Answered
Save Workspace outside of Matlab application. Help PLSSSS
The process should be shielded from outside probing, so any way you might find to save your variable would be considered a bug/s...

8 years ago | 0

Answered
plotting 2D data by interpolating
Most functions with require you to resample to a regular rectangular grid, like <https://www.mathworks.com/help/releases/R2017b/...

8 years ago | 0

Answered
need to convert from cell to numeric matrix of the same size
You need to fill empty cells with something if you don't want the removed. C={25;35;40;35;[]} C_empty=cellfun('isempty',...

8 years ago | 2

| accepted

Answered
How to plot a 3d plate (rectangle) with thickness Z?
You can use <https://www.mathworks.com/help/releases/R2017b/matlab/ref/patch.html |patch|>.

9 years ago | 1

Answered
How to use the image from first pushbutton in function second pushbutton in gui?
Save the path to the image (or the image itself) to the struct in |guidata|. The callback function of |pushbutton1| should co...

9 years ago | 0

| accepted

Answered
how to plot image for rgb values in matlab?
Have a look at the <https://www.mathworks.com/help/releases/R2017b/matlab/ref/image.html |image|> function

9 years ago | 0

Answered
Tic Tac Toe Simulator - Searching a 3-D matrix for cases where 2-dimensions are identical
If you merge the first two dimensions, you should be able to use the |unique| function with the |'row'| option. A2=squeeze(...

9 years ago | 0

| accepted

Answered
I want temperature values for fluke ti 400 ir images from 16 bit raw count values.
Maybe <https://www.mathworks.com/matlabcentral/fileexchange/32352-readis2--import-is2-files--fluke-infrared-camera- this> FEX su...

9 years ago | 0

Answered
I'm trying to import a matrix from an excel file and then writing it back to the same excel file. I was able to read the matrix M just fine, but I'm not able to write to the excel file. What am I missing? Thanks.
Replace this xlswrite(get,'Sheet1','B10:D12'); with this xlswrite(get,M,'Sheet1','B10:D12'); And you shouldn't o...

9 years ago | 1

Answered
How do I rotate a 2 dimensional shape using my computer's arrow keys?
You can use the |KeyPressFcn|, |KeyReleaseFcn|, |WindowKeyPressFcn| and |WindowKeyReleaseFcn| callbacks of a figure to catch the...

9 years ago | 1

Answered
how to select numbers within the required range from one column in the excel
In addition to the remark Bob made, you can also remove the loop and check the entire row in one go: Xa=xlsread(excelfilena...

9 years ago | 0

| accepted

Answered
Is it possible to embed interactive 3D figure graphics (GUI) into HTML, specifically on WordPress?
You should be able to use <https://www.mathworks.com/matlabcentral/fileexchange/32207-matlab-3d-figure-to-3d--x-html this> FEX s...

9 years ago | 2

Answered
How does bsxfun actually work ?
From the release notes (about implicit expansion, introduced in R2016b, replacing most use cases for |bsxfun|): Implicit ex...

9 years ago | 4

Answered
How to create a drop down list with fixed title?
The code below stores the chosen option in |handles.BasicOperationString| and resets the value back to the first option. You nee...

9 years ago | 0

| accepted

Answered
license for degree project at company
This is a question only Mathworks can really answer, because this depends on the specifics of your license. Most frequent contri...

9 years ago | 1

Answered
Storing variables from a for loop
You overwrote everything in your loop. You could have used a loop, but then you should have used indices. This problem can be be...

9 years ago | 0

Answered
Storing each frame in different variable
Don't use automatically generated numbered variables. Use an array instead. Cell arrays generally do the trick, sometimes struct...

9 years ago | 1

| accepted

Answered
I want to install 2015b for 32-bit windows 7 in my PC please tell me where can i download
<https://www.mathworks.com/downloads/web_downloads/download_release?release=R2015b> You will need a valid license though.

9 years ago | 0

| accepted

Answered
export interactive 3D stem plot
There are 2.5 main ways of sharing Matlab code with people without Matlab and still keeping it interactive. # Compile your pr...

9 years ago | 0

Load more