MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Why do I receive an an "out of memory" error when I resize a sparse matrix in a MEX file in MATLAB?
Mackenzie - 2020-09-25

Why do I receive an "out of memory" error when I resize a sparse matrix in a MEX-file in MATLAB? I wrote a MEX-file that handles sparse matrices corre...

Is there a block in Simulink that implements the FFTSHIFT function of MATLAB?
Nevaeh - 2020-09-25

I would like to know if there is a Simulink block in any Blockset that implements the function FFTSHIFT of MATLAB....

How do I implement a sliding window technique to initialize a large matrix?
Eli_sa2 - 2020-09-25

I need to initialize a large 5 Dimensional Matrix. I am unable to initialize the whole matrix at once as I run out of memory. How can I implement a sl...

How can I place a matrix of unsigned characters into a field in a MATLAB structure?
Josiah - 2020-09-25

How can I place a matrix of unsigned characters into a field in a MATLAB structure? I am having difficulty in using a MEX-file to receive a 20-by-2 ma...

Why do I get the error "Invalid matrix name" when using the GALLERY function in MATLAB 7.2 (R2006a)?
Emmanuel - 2020-09-25

After trying the following syntax from the documentation for the GALLERY function: A = gallery('vander', 1:.5:3) I received the error: ??? Error using...

how to copy LTI viewer figure to clipboard?
Emmett - 2020-09-24

in simulink, I'm plotting a Bode diagram for my model: Tools ==> Control Design ==> Linear Analysis after having the desired plot opened in a new wind...

how to load .mat in GUI every time the GUI runs and the GUI connect to simulink model?
Kingston - 2020-09-24

i have .mat file that contain so many variable, for example Alphabet.mat contains variable a=1,b=2,c=3,d=4..... i want to load Alphabet.mat every time...

How to add Simulink icon to our own GUI.?
Damian - 2020-09-24

Hi, I am preparing a GUI, in which i would like to add Simulink tool to the Tool bar existing in the GUI. I want to open a new simulink model by a cli...

How to create a new simulink model (untitled), without using 'sfnew' command?
Diego - 2020-09-24

I want to create an untitled simulink model, using Matlab command interface. How should i do that? I dont want to use sfnew command. what else i shoul...

Simulink model window keeps deactivating itself?
Adalynn - 2020-09-24

I have Matlab/Simulink installed on my Macbook, and whenever I open a new Model window in Simulink, it'll deactivate itself (I'm not sure the technica...

Get a Free Consultation or a Sample Assignment Review!