Answered
Licence approvel for the MATLAP fundemental course
If you get access to MATLAB through your school's site license, you may have access to MATLAB Fundamentals already. You can chec...

5 years ago | 0

Answered
plotting equation which is function of 2 variable
Your code is close. I would take advantage of meshgrid instead of the for loops. Here's what I get making that change. Also, the...

5 years ago | 0

| accepted

Answered
How can I find average of a range of values of the first column in a two column matrix
Try using groupsummary or grpstats. In both, you can specify bins to use for grouping data in one variable, and use that groupin...

5 years ago | 0

| accepted

Answered
I wanna know how to change the graph lines to dotes ?
Use a datetime as your x input. https://www.mathworks.com/help/matlab/matlab_prog/plot-dates-and-durations.html

5 years ago | 0

| accepted

Answered
code to be run in matlab grader
MATLAB Grader is something your instructor will have to provide you access to, either through a course hosted at grader.mathwork...

5 years ago | 0

| accepted

Answered
I want to a recover .mlx file.
You need to use MATLAB Drive Online to view deleted files.

5 years ago | 2

| accepted

Answered
Help with a vector
You have not defined a variable fx inside your findzeros function. Do you mean to use f? You have created a recursive function ...

5 years ago | 0

| accepted

Answered
I'm starting to get into detection algorithms, and im thinking of playing with importing videos in MATLAB for now, but I encountered this problem
The correct syntax is implay('vid1.avi') Your avi file is not located in the current folder or in a folder on your MATLAB path....

5 years ago | 0

Answered
Why do I receive "Input to SVD must not contain NaN or Inf?
Your input to svd is Ml'*Mc. Based on the error message, it would appear at least one value in the resulting calculation is NaN ...

5 years ago | 0

Answered
Why do I receive an error stating that my UIAxes component cannot be added?
Please report this here.

5 years ago | 1

Answered
Can I declare symbolic N x 1 vector? (N is integer variable that can not know now)
Have you consulted the doc? I think the syntax you want is A = sym('a',[n1 ... nM]) A = sym('a',[n1 ... nM]) creates an n1-by-....

5 years ago | 0

Answered
Unable to read the DATETIME data with the format 'dd/mmm/yyyy:HH:MM:SS'
Use the Format property of datetimes to determine your format spec. It looks like you have mixed up m and M lowercase m is use...

5 years ago | 1

Answered
Trying to get a list of the different variables in a column
Turn your data into categoricals, then use the categories function to list the unique categories. Five = {'LHR';'LHR';'PEK';'S...

5 years ago | 1

| accepted

Answered
Trouble with Radio Button group in App Designer
The callback for your start button needs to check the value of your radio button and use an if statement to load one mlx file if...

5 years ago | 0

Answered
How to use logical indexing for a column of 0 and 1
The best place to get started learning about logical arrays is Ch 12 of MATLAB Onramp. A simple example: x = (1:10)'; % extr...

5 years ago | 0

| accepted

Answered
Plot - Remove axis ticks but keep grid lines
A couple things. You have discovered you have to have ticks to have a grid. However, labels are separate. Leave the ticks and re...

5 years ago | 1

| accepted

Answered
Unable to change default radio button in button group
I discovered that your workflow works for a brand new radio button group. However, once I close the app and reopen it, if I try ...

5 years ago | 0

| accepted

Answered
Array indices must be positive integers or logical values.
Are you getting a warning instead of an error? If so, this means the code still runs, but MATLAB is warning of possible ways to ...

5 years ago | 0

Answered
Remove rows from a table if a variable with the same name in another table does not exist
Have you tried using the Join Tables live task? This will interactively let you align two tables using key variables. Once you h...

5 years ago | 0

| accepted

Answered
Output in two columns
Because k=1:(numPort-1) and numPort=3

5 years ago | 1

| accepted

Answered
Running an older version of app designer in a new one
Please contact support.

5 years ago | 0

Answered
Problem in working with ismembertol
LIA = ismembertol(A,B) uses a default tolerance of 1e-6 for single-precision inputs and 1e-12 for double-precision inputs. Try ...

5 years ago | 0

Answered
ODE45 producing NaN values for a set of differential equations
Your numerator and denominators are both 0. And 0/0 = NaN x=[0 0 0 0 0 0]; r0 = 1; L = 2.5; k = 353160*2; m1 = 3500/2; m2 ...

5 years ago | 1

| accepted

Answered
Why my plot is blank?
The most likely reason is that V and Tr are a single number. By default, MATLAB does not plot using markers, so if there is only...

5 years ago | 1

Answered
bar chart group and stack
The bar function doesn't contain a simple way to accomplish this, but perhaps this post in the file exchange does what you want?...

5 years ago | 1

Answered
Converting time to a epoch
In MATLAB, you can read this in as a duration (see options here) using readtable. It may autodetect the time correctly. If not, ...

5 years ago | 0

Answered
How do you allow the user to select a line in a GUI and change the color?
There is no built-in way to do this that I am aware of. However, your lines appear to be fairly horizontal. Capture the handle...

5 years ago | 0

Answered
how to store values from loop in vector
See Ch 13 of MATLAB Onramp (Programming) for an interactive introduction to using for loops. You can also find some examples of ...

5 years ago | 0

| accepted

Answered
Plotting with a for loop
If your variables y,z,a & b are column vectors (and if they are not, you could easily make them column vectors), you could do th...

5 years ago | 0

| accepted

Answered
Weekly retime grouping by ID on large dataset
Look into groupsummary. You can group by multiple variables. % groupsummary MeasurementTime = datetime({'2015-11-11';'2015-11-...

5 years ago | 0

| accepted

Load more