Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

All
  • Ace
  • 12 Month Streak
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

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...

6 hours 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. ...

7 hours 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...

7 hours ago | 0

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...

9 hours ago | 0

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 ...

1 day 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)

1 day 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...

1 day 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.

2 days 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...

4 days 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 ...

7 days 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...

7 days 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...

8 days 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(:))

8 days 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...

8 days ago | 0

| accepted

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

9 days ago | 0

| 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....

9 days 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...

9 days 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...

9 days 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...

11 days ago | 0

| accepted

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

12 days 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...

12 days 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 ...

12 days 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....

12 days 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,...

12 days 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...

12 days 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...

12 days 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...

13 days 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...

13 days ago | 0

| accepted

Answered
Calculate median at every interval
Consider using either movmean or movmedian. The result will be the same when you are looking at pairs of numbers.

13 days ago | 0

Answered
Accessing the default apps: How do I find the default apps that comes with MATLAB?
Any apps you have access to will be in the Apps tab. You can see a list of all apps organzied by the toolbox they are in here. Y...

13 days ago | 0

Load more