Answered
Changing <undefined> in a table to NA
I suggest trying to use fillmissing. B = fillmissing(A,'constant','NA');

6 years ago | 0

| accepted

Answered
How to use UIAxes to display image in app viewer
I suspect you need to specify the parent axes for the contour plot contour(app.UIAxes,ImgOut(:,:,round(Planes/2)),[TH,TH],'Line...

6 years ago | 0

Answered
How can I change the font size of tick labels on the axes of a graph?
It's in the documentation under axes properties: plot(1:5) ax=gca; ax.FontSize = 20 You can also change a single axis by spe...

6 years ago | 1

Answered
Overriding default Matlab key board short cuts
You can manage keyboard shortcuts in your preferences. From the Home tab, click Preferences in the Environment section. When the...

6 years ago | 0

Answered
How to add to values of a field?
Use your loop counter variable to specify where to add the value. By field do you mean in a structure? for a = 1:3 b.fiel...

6 years ago | 0

Answered
Problem with applying a function (kstest) to cell arrays
The issue I see is you are using arrayfun, which applies the function to each element in the vector as opposed to each cell. My...

6 years ago | 1

| accepted

Answered
How to save variables in MATLAB function in the workspace
You could save them to a mat file. When you want to plot them, load the mat file in your script. You could also consider placin...

6 years ago | 1

Answered
Sorting csv filenames according to date/time
The way I can think to do this is to extract the date and time text from the filename, convert it to a datetime, sort the dateti...

6 years ago | 0

| accepted

Answered
Working with Matlab for a 15! x 30 matrix
That many rows qualifies this as a Tall Array. Perhaps consider looking into how to analyze Big Data in MATLAB.

6 years ago | 1

Answered
Increasing value of each row from matrix A to create Matrix B, then replace 21 into 1 while the rest into 0 to create Matrix C
B=ones(length(A),30); B=cumsum([A B],2) C=B==21

6 years ago | 0

| accepted

Answered
It's Possible chage the X-axis in order to hide the blank space?
There are some FileExchange functions that may serve your needs. See this post. If you want to do this yourself, see the discus...

6 years ago | 0

Answered
Splitting matrix A in Matrix B and C based on column 2 values
ind = A(:,2)>=47; B = A(ind,:); C = A(~ind,:);

6 years ago | 0

| accepted

Answered
Extracting time from a string
I think I found the source of your data. Does that sound right? I used to be very involved in XC and track and field, so of cou...

6 years ago | 2

Answered
display dates and times of imported .csv file in Date Picker Menus in App Designer
A datetime is, by definition, a date + a time. I suggest reading in the date and time as strings, then combining them and then c...

6 years ago | 0

| accepted

Answered
Search Table for value using other variables
ind = t.P1==48.3 & t.P4==16 & t.P7==44.79; valP8 = t.P8(ind) Of course you'll have to use the actual table and full variable n...

6 years ago | 0

| accepted

Answered
How can I change the data type of a column?
I suggest turning your matrix into a table. Each table variable can be a different data type. To change, you could simply do the...

6 years ago | 0

Answered
how to get rid of while loop running infinitely in battery sizing coding?
I suggest using the debugger to set some breakpoints and inspect the value of i. I suspect it keeps finding conditions that keep...

6 years ago | 0

Answered
How do I read multiple csv from one folder and acess them in one in matlab
Do you want to keep each data file separate? If instead you want to combine all the data into a single variable, consider using ...

6 years ago | 0

Answered
Install school license as a student
Many schools have a site license for MATLAB already, as well as IT support staff to help students and staff access and install t...

6 years ago | 1

Answered
Help making interactive Image processing App
Consider looking at this example app.

6 years ago | 0

Answered
How can I write a loop with for?
I suggest going through Chapter 13 of MATLAB Onramp. Lesson 3 introduces for loops.

6 years ago | 1

Answered
can R2014a accept a live script?
No, it cannot. Live scripts weren't introduced until 2016a. Therefore, you must use at least version 2016a in order to open a li...

6 years ago | 0

Answered
How can I run a function on app designer using a push button?
Based on the error message, it appears your function Hip_Analysis_App does not have any outputs. Check your function declaration...

6 years ago | 0

Answered
How can I take the derivative of data from a .csv file and store it in a table?
x is a table already. Therefore, V and T are also tables. See this doc page on accessing data in a table. Basically, to do what...

6 years ago | 0

| accepted

Answered
how to make same component appear in different taps in app designer
No. But you can have two separate gauges and update them both at the same time. Inside the callback for each one, you could have...

6 years ago | 0

Answered
x data sorting in stem plot
By default, Categoricals are organized in alphanumeric order. If you want to impose your own order on them, use the reordercats ...

6 years ago | 0

Answered
Having problem with indexing my table
It looks like you are trying access a subset of data in your table. Take a look at this video from Exploratory Data Analysis wit...

6 years ago | 0

| accepted

Answered
MATLAB on line sends "Update failed" error message when trying to upload my exercises zip file from laptop,
How large is the file you are trying to upload? Log into drive.matlab.com. In the lower left, you'll see a bar indicating the a...

6 years ago | 0

| accepted

Answered
Is there any shortcut for go back to previous folder?
There is a Back button in the Current Folder toolbox. That takes be back to the folder that was previously the current folder. D...

6 years ago | 0

| accepted

Answered
i keep getting this error Error using griddedInterpolant The coordinates of the input points must be finite values; Inf and NaN are not permitted.
See the suggestions in this post. The issue is caused when Torque=NaN. This happens in point 10001, which corresponds to S=0. T...

6 years ago | 0

| accepted

Load more