Answered
Grader and Blackboard: How do I identify which solutions of a set of questions that are belonged to the same student?
This answer explains how to access student submissions in MATLAB Grader. However, all submissions from an LMS like Blackboard ar...

5 years ago | 0

Answered
Selecting columns from an Excel file
Use detectimportoptions and set the opts.SelectedVariableNames to be the variables (columns) you want to import. You can see sev...

5 years ago | 0

| accepted

Answered
what is the type of this machine learning problem?
This is a classification problem. I'll point you to this introduction to classification video from our Practical Data Science wi...

5 years ago | 0

Answered
How to plot the result of multiple freqs functions in the same grid
I suspect the issue it looks different is because your axes are using a linear scale instead of a logarithmic. Try this. first ...

5 years ago | 1

| accepted

Answered
How to get variance vector from i to end of the vector X
Looks like a job for a for loop. See Ch 13 of MATLAB Onramp. You can also find some examples in the documentation page of for....

5 years ago | 1

| accepted

Answered
Time vector for seismic plot
Create Uniform and Nonuniform Time Vectors

5 years ago | 0

| accepted

Answered
For loop gives different output depending on length of matrix?
My suspicion is that this has to do with your value of a. You defined it to be 0.9, but inside the for loop, you update the valu...

5 years ago | 1

| accepted

Answered
I am running a script that calls a function. I want to reassign a variable to another name inside the called function.
You need to specify output(s) for your function. function myOutput = myFunction(x) You can learn more about function definiti...

5 years ago | 0

Answered
Skipping steps while loading data? Debugging tool used
Is it skipping it or just not giving you the expected result? Have you checked that the path and file name for your importdata c...

5 years ago | 0

Answered
How to Read Data from one type of (.sema) file and to convert it into .txt file
Quick inspection suggests that your files are just text files with a custom extension. At least I can open them in a text editor...

5 years ago | 0

| accepted

Answered
Searching a Table for rows that meet specific criteria
You can use logical indexing. You can use multiple conditional expressions to create your logical index. The result is an array ...

5 years ago | 1

| accepted

Answered
How to do a box plot with several categories per date
First, be sure you understand what a box plot shows. I agree that it is a better visualization than what you have, but it displa...

5 years ago | 0

Answered
Hello, is there any way to do the Courses of Matlab training in the desktop Matlab not in Matlab online?
No, it is not possible to run them in the desktop. While you are free to follow along in the desktop, the assessment and feedbac...

5 years ago | 0

| accepted

Answered
How to label the x axis of a polar plot?
A polar plot does not have a x-axis. It is defined by R and Theta. For labels, there is a title, subtitle, and legend. You can...

5 years ago | 0

Answered
Can anybody provide me the solution to the following problems??
You can see how to create a function by following the information provided here.

5 years ago | 0

Answered
How to plot from matrix
See Ch 9 of MATLAB Onramp

5 years ago | 0

Answered
Error in Matlab Code
Error is in this line of code: BLOCK1=A(x:x+K-1,y:y+K-1); "Index in position 2 exceeds array bounds (must not exceed 512)" Po...

5 years ago | 0

Answered
How do I convert monthly data to quarterly using as the value of the quarter the value of the 1st month of each quarter?
Not knowing anything about the format of your data, I would suggest using groupsummary. This will allow you to determine how to ...

5 years ago | 0

Answered
Timetable Variable grouped by year and stackedplot
For stackedplot to work as you intend, you would have to make each year's data its own variable (column). There is no timetable ...

5 years ago | 1

Answered
How to add 'No data' and label data on Bar plot?
Perhaps see this example: Specify Labels at the Ends of Bars

5 years ago | 2

| accepted

Answered
Whats the difference between the two statements
Explained here (with an example). "Specify [] for the first dimension to let reshape automatically calculate the appropriate nu...

5 years ago | 1

Answered
Interpolation on tables using matlab
If you are using MATLAB, just use the interp1 function. Just be sure to follow the expected syntax, described in the linked docu...

5 years ago | 1

Answered
Split cvs on commas but prevent doing so for a string with a comma in it
Perhaps one of the options given here is helpful.

5 years ago | 0

Answered
How do you end a tiledlayout object
Use figure to create a new figure window for plotting the next plot. Live scripts will continue to use the same figure for all...

5 years ago | 1

| accepted

Answered
How to import multiple .mot files?
You could probably use a file datastore. I don't know what a *.mot file is, so can't comment on the specifics, but you might fin...

5 years ago | 0

Answered
Matlab dlgradient more examples?
When I search MATLAB exaples for dlgradient, I see 47 examples. I haven't gone through them, but perhaps check there? https://w...

5 years ago | 0

Answered
How can I end a for-loop when a condition is met?
Look into using a while loop instead of a for loop.

5 years ago | 0

Answered
Scatter plot markers dont show colors of the colormap
You could try using the syntax for scatter that includes color: scatter(x,y,sz,c) You'd have to include a color for each marker...

5 years ago | 0

Answered
Adding values of the matrix
Sounds like a nice assignment to teach you how to use nested for loops and an if statement with two conditionals. You can learn ...

5 years ago | 0

Load more