Question

How to copy polar plots to subplots in a new figure?

I have multiple figures with polar plots open, and I'm trying to copy each of them to subplots in a single figure. I cannot figu...

13 days ago | 0 answers | 0

Question

How to check if a figure has z-axis data?

How can I check the number of dimensions of a figure? I want to be able to set custom limits of each axis, supporting both 2D an...

13 days ago | 1 answer | 0

Question

Creating a 3D table (or equivalent)

Is it possible to create a 3D table to represent a stack of tables? I have N number of tables, each of which has the same number...

2 months ago | 1 answer | 0

Question

Format colorbar using engineering notation

How can I set the scale of a color bar to use exponential notation, with all exponents being a multiple of 3? I know that forma...

7 months ago | 1 answer | 0

Question

Combine multiple data series into a single series

Is there a way to combine multiple data series so that they only display as a single series in the Legend? I have a function th...

1 year ago | 1 answer | 0

Question

Force terminate code execution for compiled code

Is there a way for a user to force compiled code that is run using the MCR to abort? Pressing [Ctrl + C] works if the function i...

1 year ago | 0 answers | 0

Question

create function does not work for uicontrols created using Guide

For some reason none of the uicontrols that I add to my GUI using guide are created in the script. When I first created this GUI...

7 years ago | 0 answers | 0

Question

Generate Y from the conditional f(y|x)

I want to sample from a 3 dimensional probability density function. The method that I am using is to discretize the density func...

7 years ago | 1 answer | 0

Question

Plot multiple graphs to a single axis handle

I need to plot my graphs by specifying the handle to one of the axis that is in my GUI. I am using a loop to plot each new plot ...

7 years ago | 2 answers | 0

Question

GUI increment/decrement buttons linked to an Edit Text box

How can I create increment/decrement buttons in a GUI? I used GUIDE to create a slider linked to the value in an Edit Text box, ...

7 years ago | 1 answer | 0

Question

Enter data into GUI table

I created a GUI table with tag "table_handle" using GUIDE. Now how can I enter data into that table? According to the examples,...

7 years ago | 1 answer | 0

Question

FFT2 frequency of each pixel in a 2D Fourier transformed image

I can not find any documentation describing exactly what the frequencies should be for a 2D Fourier transformed image. FFT shoul...

7 years ago | 1 answer | 1

Question

Extract non-zero elements from matrix with double precision numbers

How can I extract all of the non-zero number from a matrix? I tried using the function nonzero(M), but since the values in the m...

7 years ago | 2 answers | 0

Question

Average every n*n elements in a two dimensional matrix

I have a two dimensional matrix, and create a second matrix with the averages of every n*n elements. So, say I have a 100*100 ma...

7 years ago | 1 answer | 1