Answered
error using resample. too many input arguments
Hello Sachin, There are actually six different functions or methods called |resample| across five products in the current rel...

8 years ago | 2

| accepted

Answered
How do I make a loop for the output of Beta through Z_equ?
Hello Keith, The typical pattern for looping through a vector of values, to use the values one at a time, looks something lik...

8 years ago | 0

Answered
How can I use plotm from the mapping toolbox in AppDesigner
Hello Scott, I do not believe that map axes can be used with <https://www.mathworks.com/help/matlab/ref/uifigure.html uifigur...

8 years ago | 0

Answered
Matlab default app to open .m files
Hello Daniel, I'm assuming you are on Windows 8 or 10. Here are instructions for Windows 10, which I believe applies to 8 as ...

8 years ago | 23

Answered
Error using save: Argument must contain a character vector
Hello Marki, I assume that you are trying to save your |data| variable to a MAT file entitled |part_1.mat|? In that case, ...

8 years ago | 6

| accepted

Answered
Passing value of variable instead of string
Hello Vincent, Stephen is correct about code design, and I would recommend making arrays of handles. Prior to "gobjects" bein...

8 years ago | 1

| accepted

Answered
How to change matlab x-axis on a subplot
Hello Filip, When I run the code, the axes is shrunk to the size of a subplot. If you are trying to create a second subplot, ...

8 years ago | 0

Answered
can anyone explain this result ?
Hello Diadalina, According to <https://www.mathworks.com/help/matlab/ref/poly.html#busqe1j-6 the poly function's documenation...

8 years ago | 1

Answered
i am new to matlab please help solving this problem
Hello Besii, You are trying to do element-wise operations between a 1x365 vector and a 1x11 vector. The dimensions of those a...

8 years ago | 1

Answered
I have NetCFD or nc files of u component of wind for a single year, Is there any way that i can merger nc files of 7 years into a single nc file???
Hello Muhammad, It should be possible to simply read in your NetCDF files with <https://www.mathworks.com/help/matlab/ref/ncr...

8 years ago | 0

| accepted

Answered
How do I create a control loop to run images from a folder through code?
Hello Tushar, You can use <https://www.mathworks.com/help/matlab/ref/dir.html dir> to get information about the contents of a...

8 years ago | 0

Answered
How I can remove the imaginary part of all data array?
disp(real(dataSymbols))

8 years ago | 6

| accepted

Answered
How to plot in a for loop?
Hello Nicole, Assuming you have just opened MATLAB, your axes are first created when you do "hold on" (which isn't really the...

8 years ago | 0

| accepted

Answered
Filtering dates from matrix
A 1x1 cell isn't much use to anyone, so it's probably easiest to just extract the matrix from inside: outData = out{1}; ...

8 years ago | 2

| accepted

Answered
Trouble using csvread to extract data for plotting
The xlsread function does work on Macs, just in <https://www.mathworks.com/help/matlab/ref/xlsread.html#inputarg_basic basic mod...

8 years ago | 2

Answered
Can anyone give me the error in the following simple code
Firstly, the functions are <https://www.mathworks.com/help/symbolic/syms.html syms>, <https://www.mathworks.com/help/matlab/ref/...

8 years ago | 0

Answered
add column of data to array in Matlab
Hello Kieran, In MATLAB, we use row x column notation. So a column vector with 45 elements would be 45 x 1. Use <https://w...

8 years ago | 0

| accepted

Answered
How to select more than one cells in a structure?
Hello Juan, I think I understand what you're asking. You're looking to extract a double value from one field in each element ...

8 years ago | 3

| accepted

Answered
how to plot log log and find extrapolated value of 10E7
Hello Charles, You can use the <https://www.mathworks.com/help/matlab/ref/loglog.html loglog> function to plot on logarithmic...

8 years ago | 0

| accepted

Answered
Toggle button background does not change in R2017b
Thanks, Martin. I got a High Sierra machine to test it on, and I saw the same issue. I've let the appropriate team know, and the...

8 years ago | 0

| accepted

Answered
How to change the y direction in gui graph (upside down)? and how to add label and legend into it?
Hello Javed, Just like how you use "gca" to get the handle to the current axes, you can use the handle to the desired axes in...

8 years ago | 2

| accepted

Answered
Show image for just one frame
It's tough to understand exactly what you mean by "one frame", as you're not exactly displaying a video here. You are giving no ...

8 years ago | 0

Answered
export of scatter3 is rough
Hello Weia, There is a limit on the size and complexity of an image that MATLAB can export to a true vector graphics format. ...

8 years ago | 0

Answered
Using loops to draw pixels
Hello Jason, MATLAB is not able to draw directly on the screen. Most plotting capabilities must be done within a figure or ui...

8 years ago | 0

Answered
Error during installation of Simulink support package for iOS devices
Hello Jorrit, There are occasional issues with the third-party software files becoming temporarily unavailable. I just tested...

8 years ago | 0

| accepted

Answered
Get maximum number of outputs from anonymous function
Hello Luca, That's a somewhat tricky one, and I agree that going the "eval" route is not the best way. You can get around it ...

8 years ago | 1

| accepted

Answered
mfilename not working on Live Editor?
Hello Jaime, I am afraid that <https://www.mathworks.com/help/matlab/ref/mfilename.html mfilename> does not function inside l...

8 years ago | 3

| accepted

Answered
how to create one row table
Hello Mahmoud, There are two issues going on here. One is that to specify the column names for a table, you want to provide t...

8 years ago | 0

| accepted

Answered
Predetermine impoly polygon vertices
Hello Dan, Using <https://www.mathworks.com/help/images/ref/impoly.html impoly> in interactive mode does not allow for you to...

8 years ago | 0

| accepted

Answered
Iam new to Matlab and Iam working with the arduino package, I have installed the add ons but there is an error in first line - unexpected matlab operator, could anyone please tell me if there is any error in the code itself?
Hello Vaishali, MATLAB uses "%" for comments, not "//". MATLAB also does not use "{}" to designate code blocks. You indica...

8 years ago | 0

Load more