Community Profile

543 total contributions since 2017

E-mails with feedback/questions about FEX submissions are welcomed. In general I will post e-mails about Answers on the related page, unless there is good cause not to do so.

View details...

Contributions in
View by

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

6 hours ago | 0

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

14 hours ago | 0

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

1 day ago | 0

| accepted

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

1 day ago | 0

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

4 days ago | 1

| accepted

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

4 days ago | 0

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

4 days ago | 0

how to load spefic sheet of excel workbook in matlab?

6 days ago | 0

| accepted

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

6 days ago | 0

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

6 days ago | 0

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

6 days ago | 1

| accepted

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

6 days ago | 0

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

7 days ago | 0

| accepted

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

7 days ago | 0

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

8 days ago | 0

| accepted

I want temperature values for fluke ti 400 ir images from 16 bit raw count values.

8 days ago | 0

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

8 days ago | 1

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

8 days ago | 0

| accepted

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

8 days ago | 2

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

8 days ago | 3

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

8 days ago | 0

| accepted

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 days ago | 1

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 days ago | 0

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 days ago | 0

| accepted

I want to install 2015b for 32-bit windows 7 in my PC please tell me where can i download

10 days ago | 0

| accepted

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

10 days ago | 0

How can i get non-pixalated smooth line in graph?
There was an entirely new graphics system released in R2014b: HG2. See <https://www.mathworks.com/help/matlab/graphics-changes-i...

10 days ago | 0