Answered
I need to solve a system of equations, without the syms command.
Set up your system of linear equations and solve using left divide.

5 years ago | 0

| accepted

Answered
what is this error "error updating text"
By default, labels and legends (among other things) apply a tex interpreter to their text. The '_' is used to indicate a subscri...

5 years ago | 0

| accepted

Answered
Add variables calculated in a for loop into an array
It looks like you could use some general help on how to write a for loop. Check out the examples on the for documetnation page. ...

5 years ago | 0

Answered
Why do I recieve the error " Index exceeds matrix dimensions" at line number 28
Your line spacing appears to have changed when you pasted your code here, but the error message means you are trying to index yo...

5 years ago | 0

| accepted

Answered
Filtering a table with datatime on dates
In the first case, you are not using correct syntax for MATLAB's datetime function (it doesn't accept colons), so MATLAB is assu...

5 years ago | 1

| accepted

Answered
How to change images dynamically with radio buttons in app designer?
The radio buttion group callback is executed when the selection changes. That is why you have to select image 2 then image 1 to ...

5 years ago | 0

| accepted

Answered
the streamline plot does not clear in an App while contour does. How do I clear the streamline plot?
Add the following before creating your streamline plot. cla(app.UIAxes2)

5 years ago | 1

Answered
How to adjust the position of a text on a plot?
Try using the text command, which lets you specify location. text(x,y,txt) For your subplot spacing, try using tilelayout inst...

5 years ago | 0

| accepted

Answered
Using find command to group data into bins
I wouldn't try to use find. I would try to use discretize, findgroups, or histcounts (or maybe histcounts2) instead.

5 years ago | 1

Answered
How do I join PSAT forum please?
With a little googling, I think you are looking for the Power System Analysis Toolbox forum. This is not a MathWorks-owned forum...

5 years ago | 0

Answered
How should I do to realize to acquire data at faster rate?
It is not that the NotifyWhenDataAvailableExceeds is not recommended, it is that the entire session interface approach has been ...

5 years ago | 0

Answered
yyaxis plot is not working properly
See the Algorithms section of the yyaxis documentation page for an explanation of what is happening. Basically, yyaxis left will...

5 years ago | 0

| accepted

Answered
Subplot in Matlab Appdesigner
See the page Display Graphics in App Designer. The relevant section is Create Tile Chart Layout. The specific text that applies...

5 years ago | 0

Answered
plotting a 3d function(each variable along an axis) and its output(color)
You could try scatter3 [X,Y,Z] = sphere(16); scatter3(X(:),Y(:),Z(:),[],Z(:))

5 years ago | 0

Answered
trouble using datetime format in textscan
The problem is because textscan uses white space as the default delimiter. Specify your delimiter or remove the space between da...

5 years ago | 1

| accepted

Answered
How can I change the colorbar limits/scale of a spectrogram?
Use the caxis function.

5 years ago | 1

| accepted

Answered
Problem with Plot 3D
It looks like, in your Excel sheet, you have erroneously recorded all Y values of -7 as 7. That could explain part of the issue....

5 years ago | 0

| accepted

Answered
Why I cannot save output graph from Matlab online application to my desktop?
I can't answer why, but you could save it to Drive, which is the file system for MATLAB Online, then, once saved, click on the f...

5 years ago | 0

Answered
Matlab grader problem error
Follow the advice in the problem description - review the documentation page for fprintf. Your code is not writing anything into...

5 years ago | 0

Answered
Can't open the example open_system('androidObjectClassification');
To run this example, you must have all of the following installed: Simulink Support Package for Android Devices Embedded Coder...

5 years ago | 0

| accepted

Answered
How can I uninstall MATLAB 2020b?
See the answer How do i uninstall matlab on windows when the uninstaller fails?

5 years ago | 0

Answered
Keep getting error with sample code
Where was this coded up? It looks like a homework assignment from Drexel University (Engr 231). The issue is that number_of_sol...

5 years ago | 0

| accepted

Answered
New version of readtable reads dates as cell array rather than char
The autodetection capabilities of readtable are constantly improving. One way to ensure compatability across versions is to set ...

5 years ago | 0

Answered
Adding values to a table from an if statement
Z is not a table. It is a 100x11 matrix of zeros. Therefore, you would use normal indexing (row, column) to assign values to it....

5 years ago | 0

Answered
Error using streamline function in matlab
Make sure your starting points are inside the vector field, and streamlines will plot. load mukeshbisht_matlab.mat quiver(X,Z,...

5 years ago | 0

Answered
[App designer] Update text area or edit field with uigetfile (filename)
What error messages are you getting when you run your code? Please share all the red text. Remove the clc and clear from inside...

5 years ago | 0

Answered
How to remove autogenerated legend in stackedplot?
Yes. Set the corresponding AxesProperties.LegendVisible property to 'off'. See here. You will have to repeat for each axes. s...

5 years ago | 0

| accepted

Answered
Extract from a table based on a non numerical input
What is the error message you are getting? Please share the full error message (all red text). If your syntax is correct, it sh...

5 years ago | 1

| accepted

Answered
plot being generated is not in log space
That's an interesting way to get a plot into a UIAxes. Is there a reason why you don't just plot into it directly? Your axes ar...

5 years ago | 0

| accepted

Load more