Answered
How to turn a 64-bit matrix into a binary matrix
Use |fwrite| in conjunction with |fopen/fclose| to write the binary file with your data type. doc fwrite For more inform...

13 years ago | 0

Answered
Bug of matlab coder (2013a) for IFFT?
I'm not surprised to see a small difference. Building a mex file from this: function y = doIFFT(x) y = ifft(x,2...

13 years ago | 0

Answered
how to access a particular format file from a zip file with or without zipping in matlab?
doc unzip doc dir doc movefile Bacially use |dir| with a *.zip extension to find all of the zip files; loop over them and...

13 years ago | 0

Answered
Need Help getting a 1:1 scale on a plot
In order to get the axes sizes to be the same, use: axis equal As far as printing to specific dimensions, set the figure...

13 years ago | 3

Answered
How to publish text and pictures in a loop
%% is a code secton break. You can find more information on it here: <http://www.mathworks.com/help/releases/R2013a/...

13 years ago | 0

| accepted

Answered
How do I find the maximum and minimum of a histogram in MATLAB?
doc min doc max doc histc

13 years ago | 1

Answered
How does MATLAB function pass input argument into the function?
How many times did you run this to get your timing? Run it at least 10x in a for loop to get a convincing timing metric. I w...

13 years ago | 0

Answered
Getting DICOM viewer to view DICOM images in order of sequence ID
There are a lot of good dicom reader and viewer apps on the File Exchange: <http://www.mathworks.com/matlabcentral/fileexchan...

13 years ago | 0

| accepted

Answered
Pause(n) vs timer. Which is better?
I always recommend using timers. They require a little bit more effort to become familar with but are much more powerful. They...

13 years ago | 5

| accepted

Answered
Should it take a long time to WHOS the contents of a .mat file
Do you have network directories anywhere on your path? If so, remove them and try again. Does this clear it up?

13 years ago | 0

Answered
Puzzler for a Monday
idx = ismember(A,B); C = cat(isrow(A)+1,A(~idx),A(idx))

13 years ago | 1

Answered
How do I stop the "PLOTS" tab from getting hung up?
I would recommend upping the Java Heap Space as a first step to any sluggishness issues. Home Tab->Preferences->General->Ja...

13 years ago | 0

Answered
What happens if toolbox is not renewed
Contact support. They can take you through your options.

13 years ago | 1

| accepted

Answered
help required using colormap function in matlab
You can modify it interactively by using the |colormapeditor| surf(peaks); colormapeditor (Also available through: Edit...

13 years ago | 0

Answered
What do the triangular sections mean on anova1 boxplots?
Those are the _'notches'_. Essentially if the notches overlap, it's possible the medians were drawn from the same distribution....

13 years ago | 1

Answered
Error using RESHAPE but I'm not using reshape
dbstop if error Then run your code. This will stop with the debugger on the offending line and you will be able to see wha...

13 years ago | 1

| accepted

Answered
automatic Matlab to run each 10 min
doc timer From within MATLAB if you want to use the same session.

13 years ago | 1

Answered
How can I generate random numbers given its probability distribution function.
|slicesample| in the Statistics Toolbox will do this: <http://www.mathworks.com/help/releases/R2013a/stats/slicesample.html ...

13 years ago | 0

Answered
PadArray with Odd and Even Rows/Colums
Use |padarray| twice. The first time with the default _'both'_ direction the second time with just _'pre'_ or _'post'_ to add t...

13 years ago | 0

Answered
Is it possible to download and process images Asynchronously?
|parfor| loops in the Parallel Computing Toolbox. doc parfor

13 years ago | 1

Answered
Is there a limitation to using the RESHAPE command in a for loop?
dbstop if error Then run your code. This will stop with the debugger when the error occurs and will allow you to see the i...

13 years ago | 1

| accepted

Answered
How to get the (only one) nearest/closest node in the network
doc knnsearch %?

13 years ago | 0

Answered
Publish tab is missing
Run the following at the command line: edit sfdslkjflksjf (Accept the prompt) Does the publish tab show up? If it do...

13 years ago | 1

Answered
Set a bin to count the data points for certain conditions
idx = (dist >= R) & (dist<=(R+dr)) & (dist1>=R1) & (dist1<=(R1+dr1)); %all that meet criteria count == nnz(idx); %how man...

13 years ago | 0

| accepted

Answered
Reading Data from container.Map Objects
I think I got it while writing the comment above. v = a('Two') Returns a 10x1 struct. If you look at the output from ...

13 years ago | 1

| accepted

Answered
How can default legend properties be set?
Typically I would recommend writing a wrapper function that does this then calling this function instead of legend: functio...

13 years ago | 0

Answered
Missing Functions R2013a installation
|zp2ss| is in the Signal Processing Toolbox. If you do not have this installed or licensed then it will nto work. The same for...

13 years ago | 0

| accepted

Answered
how can I display a voxel
<http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=voxel> Lots of decent looking already invented...

13 years ago | 0

Answered
Training for matlab Programming
<http://www.mathworks.com/services/training/online.html>

13 years ago | 1

Answered
Is there a way to remove all appdata?
Well obviously you could just restart MATLAB. But we don't want you to have to do that! So: appdata = get(0,'Applicatio...

13 years ago | 2

| accepted

Load more