Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

1,048 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
ECG data heart rate
Here's an example from the documentation of how to get data from physionet. Here's another example of getting the data directly ...

3 hours ago | 0

Answered
how to run "ray tracing in conference room"example?
I assume you are referring to the ray tracing example shown on this page. If you scroll to the very bottom of the page, you will...

22 hours ago | 0

Answered
convert epoch time to yyyyMMDDHHMMSS
Just as an example, here is one way to read it in. opts = detectImportOptions("HPP2.xlsx"); % Keep variable names as they are ...

2 days ago | 0

Answered
How do select values in one table which match those in another...
If you are unfamiliar with joining tables, I suggest using the Join Tables task in the live editor. This allows you to interacti...

3 days ago | 0

Answered
How can I Identify the P,Q,R,S and T waves in all 12 leads of ECG
If you would like an interactive way to try to detect peaks, I suggest using the Find Local Extrema task in the live editor. It ...

3 days ago | 0

Answered
convert epoch time to yyyyMMDDHHMMSS
Use datetime with the 'epochtime' specified. % Example: Return the number of days since January 1, 2000. T = datetime(X,'Conve...

3 days ago | 0

Answered
How to share on Matlab Online
It looks like you are trying to share the 'Published' folder, which is not possible. Rt click on your 'Examples' folder, and you...

4 days ago | 0

| accepted

Answered
Error using load unable to read
I observed the same behavior in MATLAB Online. Try the following: load("/MATLAB Drive/Parameters/3_parameter.mat") or load("....

7 days ago | 0

Answered
How do I use fill to create continuous error bars?
Having your functino may not technically be necessary, but it sure makes it easier to ensure we are seeing what you see. In this...

7 days ago | 1

Answered
Error during submission of assignment
Type 'ver' in your command window to see a list of the products you have installed. If you do not see the Paralle Computing Tool...

7 days ago | 0

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values?
What is the size of img? What is the value of sr in line 12? summation = summation + img(sr,z); The error would suggest a prob...

11 days ago | 0

Answered
About Table Comparing in matlab code
I would use the discretize function, using your comp data to set the edges (col 1) as well as the new values (col 2). Here's so...

12 days ago | 1

Answered
Random fitting when use fittype function in Toolboxes
They are absolutely related. It is the randomly selected start point that is leading to you getting different results each time....

15 days ago | 0

| accepted

Answered
My MATLAB loop is not ending
Either your 'if' condition at the end of your while loop is always true, or your 'elseif' condition is never true. I would try t...

15 days ago | 1

| accepted

Answered
Exercise in "Data Processing and Visualization" not working?
Thanks for pointing this out. I've shared it internally. You can use the "See Solution" link to see what settings were expected....

15 days ago | 0

Answered
Index in position 2 exceeds array bounds (must not exceed 1).
I think the error message is clear on what the issue is. It appears your variable vi has a size of mx1. You are trying to index ...

16 days ago | 0

Answered
Im attempting to graph the union and intersection of this specific fuzzy set. But I am getting an error.
The error I get when running your code is that the vectors you plot have to be the same length. x is 901x1 while QuC and QnC are...

16 days ago | 0

| accepted

Answered
Steepest descent method n shows error 'Index exceeds matrix dimensions.', how to fix this
The error means that somewhere in your code you are trying to access an element that doesn't exist. For example, if a variable h...

16 days ago | 0

Answered
Problem with subplots in a for loop
It doesn't look like you are using subplot correctly. The most current way to do this is using tiledlayout. There is a good exam...

16 days ago | 0

Answered
How to plot a ground surface in 3D using meshgrid?
This is one way. You can use meshgrid to turn vectors into matrices with values repeated in rows and/or columns. However, only Z...

17 days ago | 0

Answered
Integration of MATLAB Grader with App Designer
At this time, it is not possible to integrate MATLAB Grader into app designer. The LMS integration is achieved using LTI, a stan...

18 days ago | 1

| accepted

Answered
Undefined function or variable
The question should be do the variables exist in the workspace at the time you want to use them? Having them defined in a separa...

19 days ago | 0

Answered
Cannot get these errors to clear.
Your equations for CA, CB, CC in ODEs_CA3 function use a variable Cto that has not been created or at least does not exist withi...

19 days ago | 0

Answered
Convert a map in shapefile into occupancy map
Thank you for sharing your shapefile. The first thing to realize is that your shapefile's X and Y data contains data for 9 polyg...

20 days ago | 0

| accepted

Answered
Need help parsing text from .txt file
One way to skip a specific line in a file is to read it line by line and check the contents first. Here's a quick example using ...

20 days ago | 0

Answered
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Your values are not integers. For example, what value should rat_ink(79.7,1) return? Valid indices are 1, 2, 3, etc.

21 days ago | 0

Answered
Change scale of second y-axis on figure
Use the ylim function to set the yaxis limits.

21 days ago | 0

Answered
Error using sin Not enough input arguments
sin is a function, which means you must give it an input. The error here is with the code sin*t at the end of your expression. D...

21 days ago | 0

Answered
Convert a map in shapefile into occupancy map
I'll take the "offer a tip" route. That means I may not know what I'm talking about. I have some familiarity with shapefiles, b...

23 days ago | 0

Answered
How to find average value of every 10 numbers within a set of numbers?
The problem is how you set up your loops. The first value of i is the length of speed, 452. The first value of j is trying to i...

24 days ago | 0

Load more