Community Profile

photo

Cris LaPierre


Last seen: 6 days ago

MathWorks

519 total contributions since 2018

Cris LaPierre's Badges

  • Thankful Level 2
  • Revival Level 4
  • 6 Month Streak
  • Solver
  • Pro
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
Matlab 2018a installation problem
You can go through the install FAQ here. If that doesn't help, contact technical support.

6 days ago | 0

Answered
ANOVAN with possibility of columns as the variables as input
I don't quite understand you example, but for anovan, the expected input is a column vector of numbers (nx1) and a cell array of...

6 days ago | 0

| accepted

Answered
Problem solution using MATLAB
I'd suggest using a live script. You can include images, latex equations, and text along with exeutable code.

9 days ago | 0

Answered
Speed up running Simulink model using sim in MATLAB Grader
We actively discourage incorporating Simulink into MATLAB Grader. It is not a supported use-case.

12 days ago | 0

Answered
Is there a way to find the max value in an array without using the "max" command?
The max function is just an implementation of an algorithm that compares the values in the vector to find the one with the highe...

12 days ago | 0

Answered
Opening Function Figure Maximize Anomaly (GUIDE)
If behavior has changed and you think it is a bug, you could try contacting technical support to report it. This is the best way...

18 days ago | 0

Answered
Cannot access my Thingspeak account
This is a community forum. We aren't able to help you with account access. Contact customer support.

18 days ago | 0

Answered
Automatic ECG peak detection with FFT
Do you have the Signal Processing Toolbox? If so, look into the findpeaks function.

19 days ago | 0

Answered
how can I move the legend in uiaxes?
It is not possible to move the legend with your mouse. The location is set using a name-value pair argument (see doc here). Th...

19 days ago | 0

Answered
How can I use Structures array the App Designer Properties?
Use the Properties option in App Designer. All properties you define are added to the app structure. This is accessible and pas...

20 days ago | 1

| accepted

Answered
How can I change quiver width (MaxHeadSize don't work for width)?
maxHeadSize worked for me. Perhaps try setting it this way? q=quiver(x,y,u,v); q.MaxHeadSize = 0.01; For length of the arro...

20 days ago | 0

Answered
How do I read one column A up to a certain value and then take the average of all values of column B up to that certain value in A
This sounds like something you could use groupsummary for. The challenge is to create the grouping variable. It'd be easier to p...

20 days ago | 1

| accepted

Answered
readtable skipping some rows
I'd suggest trying to import your file interactively first to see if you can understand what is happening. You can do this using...

21 days ago | 0

Answered
Undefined operator '-' for input arguments of type 'struct'.
Here's a simple case that reproduces the error message Ts = 10; data.val = 5; Ts-data Undefined operator '-' for input a...

21 days ago | 1

Answered
Append date to time column entries where time is sporadically placed throughout the table
Identifying a "best" solution will require some creativity and some knowledge of your data. Here's one simple approach that may ...

25 days ago | 1

| accepted

Answered
Grouping of data as per date and perform different operations
I'm not sure what version of MATLAB you are using, but why not use the datetime data type? This line of code will convert the fi...

29 days ago | 0

| accepted

Answered
Find specific peaks and their positions
This is quick and dirty, but it finds 8 of the 9 peaks you specified (technically #9 is not a peak, so I leave it to you to dete...

1 month ago | 0

| accepted

Answered
How to save the iteration at every time step in this code?
Your code is already set up to capture a value at every iteration C1(i)=... There is, however, a logic flaw that I see. The ...

1 month ago | 0

| accepted

Answered
Remove ' from table
You could try using the Import Data tool to import the data interactively. This would allow you test various settings and see a ...

1 month ago | 0

Answered
Find peaks function not working
If the toolbox is on your license, you can use the Add-Ons > Get Add-Ons to install it. See here.

1 month ago | 0

Answered
Loading data from UIAxes to the appdesigner code
app.Ax1 is a handle to the figure, not a mat file that can be loaded. If you know what variables exist in the mat file, you ca...

1 month ago | 0

Answered
MATLAB grader error when running code
The likely problem is that your course is running only using base MATLAB, but it needs to have the Control System toolbox in ord...

2 months ago | 0

| accepted

Answered
Is it possible to use Symbolic Toolbox in Matlab Grader?
When running a course in MATLAB Grader, you must select which products (toolboxes) you want to grant your students access to. Se...

2 months ago | 0

Answered
I am trying to publish my matlab script, and a figure from a preceding section keeps appearing in the current section. Why is this happening?
Not sure. When I publish the code you have above in 2018b, figure 4 does not appear in this section at all. Have you installed a...

2 months ago | 0

Answered
good morning everyone can anyone answer me this question ? i have an error in the matlab code
Your code is trying to access the value in the 2nd row, 1st column of t_obs. The problem is there is no data there because t_obs...

2 months ago | 1

| accepted

Answered
How to determine ANOVA quadratic term of response model .. e.g A*A, B*B, C*C
I've found that I have to define quadratic interactions manually. Here's an example using fitlm and anova. A = [-1 1 -1 1 0 0 0...

2 months ago | 0

Answered
Undefined function 'isnan' for input arguments of type 'table'. Error in regress (line 66) wasnan = (isnan(y) | any(isnan(X),2));
The problem is that isnan does not support the table data type as an input. You can check which data types are supported by look...

2 months ago | 0

Answered
simscape multibody installation error
For help with installation, the best approach is to contact technical support.

2 months ago | 0

Answered
How to count number of letters (including some with special symbols)
Ok, so if each entry is on its own row, then I'd do the following. vals=readtable('ediD_count.xlsx','ReadVariableNames',false);...

2 months ago | 2

| accepted

Load more