Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

633 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
Using Matlab Grader to check correct name-value pair was used
MATLAB Grader does not have a built-in way to test name value pairs. If I were going to assess this, I would test the followin...

ungefär 24 timmar ago | 0

Answered
Hola chicos necesito ayuda, mi MATLAB no abre
Contact customer support.

en dag ago | 0

Answered
How to get 2 heatmaps
I suspect what is happeing is you are plotting both heatmpas onto the same axes, meaning the second one replaces the first. Plac...

en dag ago | 0

Answered
save all value array in loop for
See this post.

2 dagar ago | 0

| accepted

Answered
How to take Image as Input in a function
You'd have to first load the image into MATLAB and store it in a variable. You can then pass that variable as input to your func...

2 dagar ago | 0

Answered
using fmincon with extra parameters
See this post from the MathWorks Support Team. You'd probably need a loop to iterate through all the lengths. Update your call ...

2 dagar ago | 0

| accepted

Answered
moving window chi square test for outlier removal
One thought would be to use the interactive task in live scripts to find, fill or remove outliers. It might not be sophisticated...

2 dagar ago | 0

Answered
summation of two curves with different data points
You are plotting against time. The easiest thing I can think of is putting the underlying data into a timetable and then using t...

2 dagar ago | 0

Answered
Converting a Cell of Cells into an Array of a String Column and Double Column
Arrays do not support mixed data types. Cells do, which is why your data is probably stored in a cell array. Something that does...

2 dagar ago | 0

Answered
How do I convert matlab file to pdf
If you are using a live script, the is an "Export to pdf" option in the Save menu on the home tab. Click the down arrow to expan...

4 dagar ago | 0

Answered
How to a two plot in same x value for different y value?
If you have 15 minutes, I suggest going through Chapter 9 of MATLAB Onramp. It will introduce you to plotting in MATLAB.

4 dagar ago | 0

| accepted

Answered
Calculating Time Intervals Between measurements
Time is incorporated into frequency (cycles/unit of time). What are the units of your frequency? It looks like Hz, which means c...

4 dagar ago | 0

Answered
Using loops to solve probles please assist
I recommend going through Chapter 13 of MATLAB Onramp. It takes about 10 minutes, and will help you learn how to use for loops.

4 dagar ago | 0

Answered
Found a potential bug in 'listdlg'?
It wouldn't be a bug since this behavior is documented in the doc. "If you specify the prompt as a character vector that is lon...

5 dagar ago | 0

| accepted

Answered
Strange error in using kmedoids function
The top error is likely the one you can do something about (Error using datasample (line 123)). Is the indicated code something ...

5 dagar ago | 0

Answered
Create Bar Charts with different bar colours with a legend
This is a popular assignment today. See this post. As for the legend, it's pretty simple. Take a look at this doc page for how ...

5 dagar ago | 1

Answered
Conversion from MuPAD to MATLAB
Have you seen this page? It recommends trying the convertMuPADNotebook function. It also points to the resource page Convert MuP...

6 dagar ago | 0

Answered
colormap problem. bar graph doesn`t respond to colormap command
I just answered a similar question here. It is still possible, but it appears the way to do it has changed.

6 dagar ago | 0

| accepted

Answered
colormap doesn't work with bar plots in 2019a
Not sure if it's changed, but here's an example borrowed from the doc on bar. y = [1 3 5; 3 2 7; 3 4 2]; b = bar(y,'FaceColor'...

6 dagar ago | 0

| accepted

Answered
Hi, i am trying to delete NoValue from A without hardcoding so that i am only left with numbers and store them in Absorption vector but when i run the code it comes back exactly as it is, please help!!
The conditional of an if statement can only check one value at a time, yet deletedValues is a vector. For your if statement to w...

6 dagar ago | 0

| accepted

Answered
Why is day() function throwing me this error: Check for missing argument or incorrect argument data type in call to function 'day'?
Based on the arithmetic you are doing with your date, I think you want to use the function days instead of day. The former retur...

7 dagar ago | 1

| accepted

Answered
Need short one sentence explanaion on bwmorph
Did you try the documentation? "Removes interior pixels. This option sets a pixel to 0 if all its 4-connected neighbors are 1, ...

7 dagar ago | 0

| accepted

Answered
MATLAB Grader. How to check vectroization in students solution?
There is no built-in way to check that they used element-wise operators (.^). You can prohibit the use of the keyword for, to a...

7 dagar ago | 2

Answered
I wrote a code for looping an angle value 1 through 100, and set an if condition that when true outputs a total pressure recovery value, my loop is spitting out sym values, what am I doing wrong?
I get an error on this line M_1n= double(M1*sind(b_1)) % M_1n=M_2n=M_3n The function double converts a symbolic value to a num...

7 dagar ago | 0

Answered
Multiple plots in the same figure
You have a figure command in your Dicom_Reading function. This will create a new figure window. This is why, when you run the fu...

7 dagar ago | 0

| accepted

Answered
Creating a vector from nested for loops
Two ideas come to mind. for i =1:n for j=1:m b(i,j)=... end end b=b(:); Another way might be to add the...

7 dagar ago | 0

Answered
find the values of polynomial to use polyfit
With polyfit, you supply it the X and Y data and it returns the equation for you. Well, the coefficients of the polynomial of th...

7 dagar ago | 0

| accepted

Answered
How to approximate simple data vectors?
These look like straight lines to me. I'd use polyfit. If you have the Curve Fitting Toolbox, you could also use the fit funct...

7 dagar ago | 0

| accepted

Answered
how i can replace (99999,9) and (99,9900) in a column by NAN?
I'd use the function standardizeMissing. % Create a row vector and replace all instances of -99 % with the standard missing v...

7 dagar ago | 0

| accepted

Answered
How can I uninstall Biosig from Matlab?
The typcial way to do this is through the Add-Ons menu in the Home tab toolstrip. However, this toolbox is not created by MathW...

8 dagar ago | 0

Load more