Answered
Data from excel with operators
The main issue you are having is that your numbers are not numbers, but text. If possible, update your numbers in Excel to use t...

6 years ago | 1

| accepted

Answered
What am I doing wrong (NEwtons method?)
Much more helpful if you copy/paste the entire error as well as the code. My initial guess is that you are getting an error th...

6 years ago | 0

Answered
How can I add tables or equations to a problem description in MATLAB Grader? Can I use LaTeX?
Yes, you can add formatted mathematical equations and tables using the Insert LaTeX icon. Clicking on it opens a new window ...

6 years ago | 2

| accepted

Question


How can I add tables or equations to a problem description in MATLAB Grader? Can I use LaTeX?
Is there a way to add tables or mathematical equations in a problem description in MATLAB Grader? Or should I just insert an ima...

6 years ago | 1 answer | 0

1

answer

Answered
Can we solve this problem without using sort?
To answer your qeustion, yes, you can. This is a classic problem in introductory programming classes.

6 years ago | 1

Answered
Need to make a line on existing graph
Creating the line is simple. You should be familiar with the equation y=m*x + b by now. More challenging is going to be finding ...

6 years ago | 0

| accepted

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
You need to specify the column. Temp is a matrix not a vector. At the end of your while loop, you assign the temps to the column...

6 years ago | 0

| accepted

Answered
Array indices must be positive integers or logical values. App Designer in MATLAB
You are indexing V, E, and a using e. However, e is created using linspace, which, as written, creates a vector of 100 numbers e...

6 years ago | 0

Answered
How to use R2020a import tool to upload multiple excel files
Yes. Is the format of your data the same in all your files? If yes, then use the import tool to generate a function instead of a...

6 years ago | 1

| accepted

Answered
Why I got the error "Operator '-' is not supported for operands of type 'struct'."?
When importing a spreadsheet, importdata returns a scalar structure array (see here). Your error, then, is because you are not a...

6 years ago | 0

| accepted

Answered
how to add a subscript in colour map labels
The interpreter in app designer only works for figure objects (title, labels, text, legend). See this post for possible workarou...

6 years ago | 1

| accepted

Answered
MATLAB ONRAMP SECTION 7 : further practice help
Modify the code that is shown to use the min function instead of max.

6 years ago | 0

Answered
Finding start dates and end dates of a year and plot them
I would suggest looking into the following functions dateshift - to shift a date to the start of the month calmonths - to incr...

6 years ago | 0

| accepted

Answered
install MatLab from downloaded files
See is this post answers your question.

6 years ago | 0

Answered
How to format my data to a duration displaying mm:ss
a = {'5:45', '5:45', '4:57', '5:06'} a = duration(a,'InputFormat','mm:ss'); a.Format = "mm:ss"

6 years ago | 1

| accepted

Answered
How to stop cyclic program in Matlab online - timer
Try using the stop button in the bottom right corner of your MATLAB window.

6 years ago | 0

Answered
Machine learning onramp files
The course files available for download do not include code you have written in the course. They are instead files the course au...

6 years ago | 0

| accepted

Answered
How to copy and paste in Matlab Online?
Copy/paste does not appear in the rt click context menu. You should be able to use the appropriate keyboard shortcuts for your s...

6 years ago | 1

| accepted

Answered
How can I discretize a smooth curve?
Try using the discretize function y=linspace(3.5,3.4965); x=linspace(0,1000); plot(x,y) % discretize [Y,E] = discretize...

6 years ago | 1

| accepted

Answered
how to use findpeak for every column of a matrix?
The input to findpeaks can only be a vector. It does not accept matrices. That leaves you with 2 options. If the peak detection...

6 years ago | 0

Answered
Clearing an edit field (numeric) and text area
A numeric edit field cannot be blank. You can read more about the value properties of this component here. MATLAB rejects the v...

6 years ago | 0

Answered
Compare two excel files and generate a new one that contains all columns
Sounds like you want to join tables using a,b, and c as your key variables. I would use readtable to import the two spreadsheets...

6 years ago | 0

| accepted

Answered
Error popup: "Undefined function 'cosd' for input arguments of type 'matlab.ui.control.NumericEditField' "
You are passing in handles to the components, not the values they contain. You need to access the specific property of the compo...

6 years ago | 0

| accepted

Answered
not enough input arguments
You have written the function to accept 5 inputs: l,x1,x2,y1,y2 However, when you call it, you are only using one: a, which get...

6 years ago | 1

Answered
How to Use Sliders to Change RGB Values of an Image in GUI
Yes, it has to do with storing the image. You callbacks are functions. The variables do not exist once the function exits. You n...

6 years ago | 0

Answered
Connecting edit fields with a push button
You can do this by changing the properties of the output edit field inside the callback function of the push button. You can get...

6 years ago | 0

| accepted

Answered
Matlab App Designer - Image Editing
Have you considered variable scope? Each callback is a function. Once you leave a function, the variables created inside it no l...

6 years ago | 0

Answered
Creating a 3D surface plot of an array considering two for loops
The error is because, assuming the rest of your code is correct, you have reversed your indices for assigning to z. You initial...

6 years ago | 0

Answered
Reading Dataset from Excel File
The easiest way to start is by using the import tool. It is on the toolstrip in the Home tab. This video from the Practical Data...

6 years ago | 0

Load more