Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

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

View badges

Content Feed

View by

Answered
Add average temperature line onto plot
Use the yline function.

2 hours ago | 0

Answered
Recognise micrometer symbol in image
I have only played around with this quickly, but it is likely part of the issue is that you are using the english language packa...

2 days ago | 1

| accepted

Answered
Stuck at MATLAB Onramp Course
See this answer.

4 days ago | 0

Answered
Filtering down a readtable based on specific value in a column
Assuming we are missing some of the code (all the column numbers used to construct RawBonusStars, I believe your issue with the ...

4 days ago | 0

Answered
Unable to use a value of type string as an index
Correct. An index must be a positive integer value. If you instead intended to pass in a variable containing the index values, r...

4 days ago | 0

Answered
subtract each element from the one before in a row matrix
You are overwritting your variable Mid_s everytime, so you just end up with the very last number. Ch 13 of MATLAB Onramp will in...

4 days ago | 0

Answered
what code should i use to plot the set of resulting values?
See Ch 9 of MATLAB Onramp.

4 days ago | 0

Answered
Sort timetable in the ascending order of dates
You know the function to use, and by now should cetainly know how to use the documentation. Make an attempt on your own rather t...

5 days ago | 0

Answered
How can I add slides to an existing ppt presentation?
I found this statement in the documentation: "To add a slide, use the add method with an mlreportgen.ppt.Presentation object. F...

5 days ago | 0

Answered
System Linearization and PID tuning
You could use the PID Tuner app. When it opens, it will first linearize your model. See here.

5 days ago | 0

Answered
How to use ode4 with ODE system?
This is not a MathWorks-supplied function. The error message suggests this function does not return 2 outputs. When I look at ...

5 days ago | 0

Answered
How to visually check equations
You likely need the Symbolic Math Toolbox to do what you want. Note that it it will combine the numeric values in the process. ...

5 days ago | 0

Answered
How to sum up over dates?
Convert your dates to datetimes and use groupsummary with the groupbins input set to 'day' and your method set to 'sum', and dat...

6 days ago | 0

| accepted

Answered
How to extract lat and long and height from a $GPGGA string and time match to another file?
I would also suggest playing around with the import tool. Here, you can use a UI to find the right settings to import the data, ...

6 days ago | 0

| accepted

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.

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

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

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

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

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

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

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

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

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

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

15 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(:))

15 days ago | 0

Load more