Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

1.102 total contributions since 2018

Cris LaPierre's Badges

  • 12 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
Matlab Live Script Format Problem
This is likely because your value does not have an exact decimal equivalent. Since the result is symbolic, you are getting the e...

ein Tag ago | 2

Answered
Can somebody help with curve fitting app custom equation problem please?
My suspicion is that your equation is overly complex for the data, so MATLAB is having a hard time guessing the right starting p...

ein Tag ago | 0

| accepted

Answered
Temperature distribution contour plot
In order to create a contour plot, you will need to have a temperature measurement for each (x,y) permutation. This means T need...

ein Tag ago | 0

| accepted

Answered
How can I save date that is overwritten on each loop?
Create your mat file name dynamically. save(['Data' num2str(i) '.mat'],'T'); % me trying to save the data on each h but failing...

ein Tag ago | 1

Answered
How do i extract points from roi using roipoly?
Assign the output of roipoly to a variable. See the syntax section of the documentation page. You probably want the following sy...

ein Tag ago | 0

| accepted

Answered
how to solve this error "Matrix dimensions must agree".
i am trying to find the pulse transit time by subtracting the ppg peaks from the ecg peaks My suspicion is that you have a di...

ein Tag ago | 0

Answered
"Index in position 1 exceeds array bounds (must not exceed 1)." error using spline.
I suspect the issue is your indexing of your variable x is the issue. I don't think it has a 2nd row, so your call to x(2,:) res...

ein Tag ago | 1

Answered
Is it possible to control the appearance of the title bar and the title bar icon of figure windows in MATLAB?
Starting with R2020b, you can now specify custom icons for UI figure windows and toolbar push and toggle tools. See the release ...

3 Tage ago | 0

Answered
How can I change the icon of my AppDesigner-produced GUIs?
Starting with R2020b, you can now specify custom icons for UI figure windows and toolbar push and toggle tools. See the release ...

3 Tage ago | 0

Answered
How do I find a specific point in my plot?
Of course, the point you are probably looking for is the p wave. There are posts about that, too.

3 Tage ago | 0

Answered
MATLAB Curve fitting with custom equation
If you have the curve fitting toolbox, I suggest using fittype and fit. fittype will allow you to define a custom equation to ...

3 Tage ago | 0

| accepted

Answered
2D graph based on X and Y coordinates
Sounds like a tiled histogram might be what you are looking for. If position is lat/lon, maybe a geodensityplot?

3 Tage ago | 0

| accepted

Answered
I want to randomly plot battleships on my board, but no outputs are present?
You are taking two approaches simultaneously in your code. You create a plot where I suspsect you want to visualize the ships, b...

3 Tage ago | 0

Answered
Is there a way in matlab where I can delete the first row of 50 excel files in a folder?
You would take the code for a single file, and put it inside a for loop that iterates through every file in the folder. You can ...

4 Tage ago | 0

| accepted

Answered
How to put all input into one dialog box?
Take a look at the examples on the inputdlg documentation page.

4 Tage ago | 0

Answered
Issues with while loop
You have no exit criteria for your while loop, which means you are creating an infinite loop. Do you even need a while loop? I...

4 Tage ago | 0

Answered
Index exceeds the number of array elements (1).
I suggest looking at one of these posts.

4 Tage ago | 0

Answered
Infinite loop in False postion method
I don't understand what your approach is, but by converting your while loop to a for loop, I can see that your error stops decre...

4 Tage ago | 0

Answered
Function Subtracts Two Nonnegative Integers
For your if conditional, use two = for comparison. if x_minus_y(1) == 0

4 Tage ago | 0

| accepted

Answered
do you have a rate for retirees?
Agree with Star Strider, though that link specifically says they do not follow up on Student or Home license requests, which is ...

4 Tage ago | 0

Answered
legend doesn't list all of the plotted lines using plotyy
I think the issue here is that plotyy is not designed to work with hold on. It creates 2 axes superimposed on itself. When calle...

4 Tage ago | 0

| accepted

Answered
Hello, I was wondering why my last figure in this code keeps giving me a 3D graph instead of a 2D
Because your view command is changing the camera angle, resulting in a 3D view. view(85,25)

4 Tage ago | 0

| accepted

Answered
Need help cross referencing my code
It looks like you need help getting started with MATLAB. I suggest completing MATLAB Onramp.

5 Tage ago | 0

Answered
App panel keeps shifting content
I would recommend submitting a technical support request.

5 Tage ago | 1

Answered
Index exceeds the number of array elements (1) When developing reinforcement learning environment
The error suggests that ct>1, but either/both obj and Data have a length of 1. This is what the (1) at the end of the 'Index exc...

5 Tage ago | 0

Answered
Time weighted average after every 60mins
Look into groupsummary. You'll probably want something like this. I'm assuming your data is in a table. groupsummary(tblName,Da...

5 Tage ago | 0

Answered
Division int32 numbers in MATLAB R2019b
int32 is for storing 32-bit integers. The result of the division is rounded to the closest integer value. int32(32.5) If you w...

5 Tage ago | 0

Answered
Splitting up Numerical Text Data
t = ' 89 93 96 99100100100 98 96 94 90'; T = textscan(t,'%3s','Whitespace',''); T = str2double(T{:})

5 Tage ago | 1

Load more