Community Profile

photo

A


Active since 2012

Statistics

  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


arduino code not working with MCR
I was able to successfully run my Arduino-based code in MATLAB- but when I tried to compile the code and run under MCR, it retur...

7 years ago | 1 answer | 0

1

answer

Question


computer freezes during heavy array calculation
Tried limiting max array size to 80% RAM, did not help. Windows 10 64bit, page file managed by windows. R2016B

7 years ago | 1 answer | 1

1

answer

Question


issues writing a time string to excel
I am trying to write the following string (generated using datestr) into excel: '12:01:33.500 AM' In excel, it truncates the...

8 years ago | 1 answer | 0

1

answer

Question


how to export a 2 dimensional cell array of strings with different lengths to an excel file?
I understand XLSwrite only takes matrices. I cannot use matrices since every element is a string with different sizes

8 years ago | 1 answer | 0

1

answer

Question


last iteration of the for loop takes too long
The last iteration of the outer loop (j=20) takes a very long time to exit- much longer than 1-19. When I debug line by line, it...

10 years ago | 1 answer | 0

1

answer

Question


how to enable/disable a pushbutton based on a radio selection? (guide gui)
I have a radio button group woth 2 buttons; depending on which radiobutton is selected, I want to enable/disable a pushbutton.

11 years ago | 1 answer | 1

1

answer

Question


how to create a msgbox without "ok" button?
I need to create a "please wait..." message box, that will keep user from interacting with GUI and will close once internal calc...

11 years ago | 1 answer | 2

1

answer

Question


how to enable rotate3d for guide axes?
how do I rotate 3d a graph drawn in axes pane in a GUIDE figure?

11 years ago | 1 answer | 0

1

answer

Question


how to pass data to sub-gui using guidata
I have a pushbutton(pushbutton8) in the main gui that will open another gui(also created using guide). All the data is stored in...

11 years ago | 1 answer | 0

1

answer

Answered
how to create global variables for gui created using guide
I would rather use nested functions. According to "Data Management in a GUIDE gui" document, it is possible to "nest the GUI cal...

11 years ago | 0

Question


how to create global variables for gui created using guide
when I create a gui using guide, the generated code is basically a series of non-nested functions, starting with intialization f...

11 years ago | 2 answers | 0

2

answers

Question


how to detect folder address
The following code performs an operation on all files present in a folder specified by "pathh". I need to be able to copy the co...

11 years ago | 2 answers | 0

2

answers

Question


drop down gui help
I need a drop-down menu to populate a vector. option 1: have user enter a single number(default is 1.5) and duplicate it to popu...

11 years ago | 1 answer | 0

1

answer

Question


GPU acceleration to speed up matrix operations?
I work with large 4D data matrices. Would I benefit from using parallel computing toolbox to speed things up? I do have a comput...

11 years ago | 1 answer | 0

1

answer

Question


how to define a 3D volume in a matrix
I need to define a cylinder(diameter=20cm and height=25cm) in a 3D matrix A(40x40x50) such that each element represents a 5mm x ...

11 years ago | 2 answers | 0

2

answers

Question


how to export figure data into a .mat file
X=[0:.1:10]; Y=rand(length(X)); plot(X,Y) is there a way to add a menu item to the figure window to save data (X,Y)...

12 years ago | 2 answers | 0

2

answers

Question


how to display elements of a 2D matrix as color-coded squares
like for a 16x16 matrix: <http://i.imgur.com/oqWqE.jpg>

12 years ago | 2 answers | 0

2

answers

Answered
how to limit arrow length in 3D quiver plot?
here is what works: Ln = sqrt(U.^2 + V.^2 +W.^2); Maxlen=100; U(Ln>Maxlen)=U(Ln>Maxlen)./Ln(Ln...

12 years ago | 0

| accepted

Question


how to step out of a for loop
during debugging, I need to complete a for loop and continue debugging line by line; when I press shift+F11 it gets out of debug...

12 years ago | 3 answers | 0

3

answers

Answered
how to allow user to get an arbitrary line profile from a contourplot
I need the code to allow user to be able to click on one corner of the slice, hold the left mouse button, and drag cursor to som...

12 years ago | 0

Question


how to allow user to get an arbitrary line profile from a contourplot
lets say we have a slice figure: [X Y Z]=meshgrid([-2:.1:2],[-2:.1:2],[-2:.1:2]); f=rand(41,41,41); slice(X,Y,Z,f,0,[...

12 years ago | 3 answers | 0

3

answers

Question


equality operator between matrix and scalar
consider: a=[-1:0.1:1]; c=a==.1; it returns c as a matrix of nulls; while I expect c(12) to be 1.

12 years ago | 4 answers | 0

4

answers

Answered
data cursor function for 3D slice
that worked... thanks Total longshot, but is there a way to draw a line across the slice and plot the line profile? (i.e. hav...

12 years ago | 0

Question


data cursor function for 3D slice
I need to make the data cursor on a 3D slice display value of the function being displayed; i.e. for slice(X,Y,Z,f,0,[],[]) make...

12 years ago | 2 answers | 1

2

answers

Question


2D contourplots of a 3D function
I have a 3D matrix; corresponding to values of function f in space. I would like to display 2D contourplots of f at certain plan...

12 years ago | 1 answer | 0

1

answer

Question


how to limit arrow length in 3D quiver plot?
I have a vector field with a large dynamic range; I would like to set a high threshold on vector magnitudes being displayed. ...

12 years ago | 3 answers | 1

3

answers