답변 있음

set axes limit manual

Ah, you actually meant 11x11 and 20x20. I had figured that was just a typo based on the question. imagesc is going to use row nu...

set axes limit manual

Ah, you actually meant 11x11 and 20x20. I had figured that was just a typo based on the question. imagesc is going to use row nu...

11일 전 | 0

답변 있음

set axes limit manual

Can you share your code? It sounds like you are not providing an x input to your plot command. If not, MATLAB is using the index...

set axes limit manual

Can you share your code? It sounds like you are not providing an x input to your plot command. If not, MATLAB is using the index...

11일 전 | 0

답변 있음

Grader says answer Verified in Reference Solution is wrong

It doesn't appear that you've shared all your code, as I get an error about n being undefined. Obviously, that will be true for ...

Grader says answer Verified in Reference Solution is wrong

It doesn't appear that you've shared all your code, as I get an error about n being undefined. Obviously, that will be true for ...

11일 전 | 0

답변 있음

If values are given then how we used in loop one by one .

Ch 13 of MATLAB Onramp explains how to create and use for loops in MATLAB. You can also find some examples here. Basically, p...

If values are given then how we used in loop one by one .

Ch 13 of MATLAB Onramp explains how to create and use for loops in MATLAB. You can also find some examples here. Basically, p...

11일 전 | 0

답변 있음

how to solve the error "Unrecognized function or variable ".

The error suggests your code either can't find a function you use (it is not in the current folder or on the MATLAB path), or yo...

how to solve the error "Unrecognized function or variable ".

The error suggests your code either can't find a function you use (it is not in the current folder or on the MATLAB path), or yo...

11일 전 | 0

| 수락됨

답변 있음

Re-write a Data from File (Readtable, Readmatrix, etc) with a replacing rule for a specific data number(s)

If you are already using readtable, look into the TreatAsMissing name-value pair input argument. You might also consider the st...

Re-write a Data from File (Readtable, Readmatrix, etc) with a replacing rule for a specific data number(s)

If you are already using readtable, look into the TreatAsMissing name-value pair input argument. You might also consider the st...

11일 전 | 0

| 수락됨

답변 있음

Not enough Input Argument error

CountryData is a class. I believe you need to create an instance of your object and then use that when calling your method. See ...

Not enough Input Argument error

CountryData is a class. I believe you need to create an instance of your object and then use that when calling your method. See ...

12일 전 | 0

답변 있음

How to divide a vector by a constant?

You need to use elementwise division everywhere in your equation for y c=3*10^8; speeds=(.1*c:.9*c/8:.9*c); % v y=1./sqrt(1...

How to divide a vector by a constant?

You need to use elementwise division everywhere in your equation for y c=3*10^8; speeds=(.1*c:.9*c/8:.9*c); % v y=1./sqrt(1...

12일 전 | 1

답변 있음

Convert table sequence to csv

Have you tried writetable? seqTable = load('matlab.mat'); writetable(seqTable,'test.csv');

Convert table sequence to csv

Have you tried writetable? seqTable = load('matlab.mat'); writetable(seqTable,'test.csv');

13일 전 | 0

답변 있음

Storing results of variables into arrays in App Designer

Make your variables properties of the app. See this page: https://www.mathworks.com/help/matlab/creating_guis/share-data-across...

Storing results of variables into arrays in App Designer

Make your variables properties of the app. See this page: https://www.mathworks.com/help/matlab/creating_guis/share-data-across...

13일 전 | 0

답변 있음

Getting error as array indices must be positive integers or logical values in slope calculation.

I suspect the error is in your column index for R: ji-1 When ji=1, the result is 0, which is not a valid index in MATLAB. Not...

Getting error as array indices must be positive integers or logical values in slope calculation.

I suspect the error is in your column index for R: ji-1 When ji=1, the result is 0, which is not a valid index in MATLAB. Not...

13일 전 | 0

| 수락됨

답변 있음

How to open the DDS Blockset app?

Do you have the DDS Blockset installed? Type ver in the command window to see. If not and you have access to it through your l...

How to open the DDS Blockset app?

Do you have the DDS Blockset installed? Type ver in the command window to see. If not and you have access to it through your l...

13일 전 | 0

| 수락됨

답변 있음

MATLAB Fundamentals course erased all progress

Progress is tied to the course release. It is possible you are now accessing a different release version. Try changing your rele...

MATLAB Fundamentals course erased all progress

Progress is tied to the course release. It is possible you are now accessing a different release version. Try changing your rele...

13일 전 | 1

답변 있음

Displaying an image in app designer

Use the following syntax: imagesc(ax,___) where ax is your target axes (app.UIAxes). You connect it to your button by placing ...

Displaying an image in app designer

Use the following syntax: imagesc(ax,___) where ax is your target axes (app.UIAxes). You connect it to your button by placing ...

13일 전 | 0

| 수락됨

답변 있음

Using a Checkbox to add/ remove Text in contourplot in Appdesigner

You need to use the handle to your contour plot to set the property of ShowText to on or off. [x,y,z] = peaks; [C,h] = contour...

Using a Checkbox to add/ remove Text in contourplot in Appdesigner

You need to use the handle to your contour plot to set the property of ShowText to on or off. [x,y,z] = peaks; [C,h] = contour...

14일 전 | 1

| 수락됨

답변 있음

How to plot power lines on the motor torque and speed graph

Do you know about hold? If so, I'm not sure I understand why you can't plot them. Your x vector is the speeds, and your y vector...

How to plot power lines on the motor torque and speed graph

Do you know about hold? If so, I'm not sure I understand why you can't plot them. Your x vector is the speeds, and your y vector...

14일 전 | 0

답변 있음

Multiple lines to write using fid open

The issue is with the permission you are using with fopen ('w'). 'w' Open or create new file for writing. Discard existing co...

Multiple lines to write using fid open

The issue is with the permission you are using with fopen ('w'). 'w' Open or create new file for writing. Discard existing co...

14일 전 | 0

| 수락됨

답변 있음

How do we start numbered lists in the Live Editor (i.e. in a live script) from a different number?

I do not believe this is currently possible in live scripts, but is a good suggestion. I recommend submitting this as a suggesti...

How do we start numbered lists in the Live Editor (i.e. in a live script) from a different number?

I do not believe this is currently possible in live scripts, but is a good suggestion. I recommend submitting this as a suggesti...

14일 전 | 0

답변 있음

Keep getting "too many input arguments"

Methods are called just like functions, with the object passed in as one of the arguments. Try this: a = lm25119_calcs; HsFETl...

Keep getting "too many input arguments"

Methods are called just like functions, with the object passed in as one of the arguments. Try this: a = lm25119_calcs; HsFETl...

14일 전 | 0

| 수락됨

답변 있음

error in axis! help me

As the error states, you have an unexpected number of values in your axis command. For a 2D plot, you should have 4. Since I don...

error in axis! help me

As the error states, you have an unexpected number of values in your axis command. For a 2D plot, you should have 4. Since I don...

14일 전 | 1

답변 있음

Extracting value from Name-Value pairs using the Name string

ind = strcmp({test.Name},'long_name'); test(ind).Value

Extracting value from Name-Value pairs using the Name string

ind = strcmp({test.Name},'long_name'); test(ind).Value

14일 전 | 1

| 수락됨

답변 있음

Display the value instead of 1x1 table

This is likely an issue with how you have assigned values to your cell array. Rather than assigne a table to a cell, assign its ...

Display the value instead of 1x1 table

This is likely an issue with how you have assigned values to your cell array. Rather than assigne a table to a cell, assign its ...

14일 전 | 0

답변 있음

get the last for digits of the messages and create another array with them

They are characters because you convert your string to a character array. Ether convert the result back to a string using string...

get the last for digits of the messages and create another array with them

They are characters because you convert your string to a character array. Ether convert the result back to a string using string...

14일 전 | 0

| 수락됨

답변 있음

MATLAB App Testing - Confirmation dialog boxes

It sounds like you want to programmatically close a confirmation diaglog box. If so, see this answer.

MATLAB App Testing - Confirmation dialog boxes

It sounds like you want to programmatically close a confirmation diaglog box. If so, see this answer.

18일 전 | 0

답변 있음

MATLAB Grader use of memory

The problems are not stored in the LMS. Instead, each embedded problem is assigned a resource link ID that is used to identify w...

MATLAB Grader use of memory

The problems are not stored in the LMS. Instead, each embedded problem is assigned a resource link ID that is used to identify w...

19일 전 | 0

| 수락됨

답변 있음

Which Products should I select

I believe this is answered in the thread where you first posted this question. (Yes)

Which Products should I select

I believe this is answered in the thread where you first posted this question. (Yes)

20일 전 | 0

답변 있음

How can I plot this?

There are some inconsistencies in your code. The issue with the line you are questioning is that you have one X input and 2 Y in...

How can I plot this?

There are some inconsistencies in your code. The issue with the line you are questioning is that you have one X input and 2 Y in...

26일 전 | 0

답변 있음

Getting Y value for plot having 3 curves in single plot. using App designer dropdown component selecting one curve to read Y data for X data? using GUI

Use App Properties to share your data within an app. That way, you don't have to keep loading the same variables. Consider loadi...

Getting Y value for plot having 3 curves in single plot. using App designer dropdown component selecting one curve to read Y data for X data? using GUI

Use App Properties to share your data within an app. That way, you don't have to keep loading the same variables. Consider loadi...

28일 전 | 0

| 수락됨

답변 있음

How to save output in MATLAB Mobile?

MATLAB Mobile uses MATLAB Drive for its file system. MATLAB Drive is a cloud-based storage system. You can access anything you s...

How to save output in MATLAB Mobile?

MATLAB Mobile uses MATLAB Drive for its file system. MATLAB Drive is a cloud-based storage system. You can access anything you s...

29일 전 | 0

| 수락됨