Community Profile

photo

Cris LaPierre


MathWorks

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

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

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

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

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

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

23 days ago | 0

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

23 days 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);...

24 days ago | 2

| accepted

Answered
Existing table, populate a column with string (receiving errors)
You are close, but you are trying to assign a character vector to a double variable (NaN = not a number). You can see that if yo...

24 days ago | 0

Answered
Reset UIAxes to show only the X and Y axis
You could try the reset function. reset(app.UIAxes)

26 days ago | 0

| accepted

Answered
2-way repeated measures ANOVA
I think you could also achieve a 2-way ANOVA using the anova2 function in MATLAB. There is a good example you can follow here. ...

1 month ago | 0

Answered
Grpstats function handles with multiple columns
From what I see, the issue is that you are using a table despite wanting to use the matrix syntax. Grpstats will compute the ind...

1 month ago | 1

| accepted

Answered
I did not understand what the problem is ?
Not sure there is enough info for us to know either. Some observations, though. You use variable rp before you define it. That ...

1 month ago | 0

Answered
How do i prevent boxplots from overlapping in a for loop?
Boxplot allows you to also specify a grouping variable. I'd put all the data into a single table, and then use the following cod...

1 month ago | 0

| accepted

Answered
How do I log back into my free trial
Free trial of what product? Trials are added to your account, so there is no special login url. Just use your normal MathWorks ...

1 month ago | 0

| accepted

Answered
Cross Correlation in Matlab
If you have the Signal Processing Toolbox, use xcorrr2.

1 month ago | 0

Answered
Full version of Matlab
There are a couple links of interest. First, you can obtain access details for your campus-wide iicense here. Once you complete...

1 month ago | 0

Answered
Duplicate x,y in table; get min/max of variables to new table
One potential solution that is simple to implement is to use groupsummary. You can have your data grouped by x and y, and have i...

1 month ago | 0

| accepted

Answered
Solving 2nd Order DEs in MATLAB
See this example in the documentation. If you don't want to do all the rearranging yourself and have access to the Symbolic M...

1 month ago | 0

Answered
Help plotting two events that happened on the same day
I'm not sure what it is you want to display on your final figure. First, for others, here's the data in a way you can quickly c...

1 month ago | 0

| accepted

Answered
How to set a colorbar using specific RGB values and limit values?
If you want specific colors at specific values, specify the contour lines. Then you can set the colormap and Caxis limits to for...

1 month ago | 0

Answered
How to export the third dimension of a 3D single array?
So your variable has 3 dimensions? If you ran the command size(A), you should get three numbers, something like m x n x z. If t...

2 months ago | 0

| accepted

Answered
Reading an excel file and taking certain parts of the data
I'd suggest you try to use readtable instead of xlsread.

2 months ago | 0

Answered
Program that takes input from excel file and calculate distance and msd for each point!
I'd recommend you start by learning the fundamentals of MATLAB. For this, I'd suggest completing MATLAB Onramp. It's an interact...

2 months ago | 0

Answered
Boxplot for multiple categorical data sets
You could use the 'BoxStyle','filled' name,value pair when creating the boxplot. I don't like how that looks. The best I could f...

2 months ago | 0

| accepted

Answered
Why Does My Code Work for Fprintf, but not disp() for outputting a result from the user input
Concatenation with + only works for strings ("string"), not character arrays ('character array'). Replace your single quotes wi...

2 months ago | 0

Answered
Boxplot for multiple categorical data sets
Not sure what you are hoping it looks like in the end, but here's one way. load features.mat data1 = features{1}; data2 = f...

2 months ago | 0

Answered
How do you convert wav file to mp3
See this post. If you can't find something in the file exchage, there are numerouse websites and 3rd party tools that also do t...

2 months ago | 0

Answered
Question regarding data grid
The uploaded file contains a single variable with size 1x71x38. If that is correct, just use the squeeze function to remove the ...

2 months ago | 0

Answered
The number of lines on ASCII file should be same - error
What are you trying to do? You can read more about save in the doc. There are also examples there to help you get started. If...

2 months ago | 0

| accepted

Load more