Community Profile

photo

Cris LaPierre


MathWorks

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

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

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

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

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

12 days ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

23 days ago | 0

| accepted

Answered
Traverse a nested for loop with strings as one index and int as another.
When working with strings, the "+" is used for concatenation. Your result, then, is strings, not variables. It depends what you...

23 days ago | 0

Answered
How to use two different variables in few complex equation in for loop?
It's i that you changed, so you shouldn't have to do anything with j. In this case, I'd recommend first creating a variable for...

1 month ago | 1

Answered
Why image is shifted when using ifft2
The shift is related to your hsize value in fspecial (shifted ~0.5*hsize in both X and Y). I'm not sure I can do any better exp...

1 month ago | 0

Answered
Problem in making heatmap
Here's a sample of how I might do this. Note that I'm using some randomly generated numbers. The 5th column is integers. I defi...

1 month ago | 0

| accepted

Answered
What's wrong with my for loop?
You are currently overwriting your loop counter variable (t). This is incremented automatically by the for loop. You don't need ...

1 month ago | 0

Answered
Syms toolbox not working Matlab 2019
The symbolic toolbox does work in MATLAB r2019b. If it does not work for you, you likely have an install issue. For help with th...

1 month ago | 0

Answered
How to use two different variables in few complex equation in for loop?
The variable data will only contain values for the case when j==15*k0. If you want to store all values, data must be a matrix. Y...

1 month ago | 1

| accepted

Answered
How to convert minutes, seconds, milliseconds to seconds?
You don't sepcify your file type. I'm going to assume a csv though this only matters for getting the data into MATLAB. My goal i...

2 months ago | 0

| accepted

Answered
In matlab grader it says i am trying to write a scrip instead of a function.
The "Solution script not found" sounds like an issue discovered in an update that was rolled out on the 13th. That issue has bee...

2 months ago | 0

Answered
How to change background color of an image in a GUI
If you can save your image as a png instead, see this post about displaying png images with transparent backgrounds. Even with ...

2 months ago | 1

| accepted

Load more