Community Profile

photo

Cris LaPierre


MathWorks

412 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
Is there a catalog of pre-made problems available within MATLAB Grader?
In addition to the example problems (in a collection called Getting Starting with MATLAB Grader), the Introduction to Programmin...

14 days ago | 0

Answered
Cleaning of large files of data
Consider looking through this example in MATLAB. It might give you some ideas of how to handle the missing data.

17 days ago | 1

Answered
Grader: Your code could not run to completion. Check for errors in the code such as infinite recursion.
There is not currently a way to extend the time limit. All computation, including running the reference solution, student soluti...

25 days ago | 1

Answered
Graphical User Interface (GUI) in Matlab 2019a version.
In the command window, type appdesigner

1 month ago | 0

Answered
How can I exclude index values that are not present in all columns of a matrix?
Where your data is sorted in ascending order and, at least after a cursory examination of the data, no values are duplicated in ...

1 month ago | 0

Answered
Problem with contourf for scattered data
I didn't look into what is causing it, but inspecting Z has me thinking it might be roundoff error. Your Z values in this region...

1 month ago | 0

| accepted

Answered
Too long for installation
You can try the installation self help. If you still can't find a solution, create a technical support service request here.

1 month ago | 0

Answered
help with matlab error
It looks like your teacher is using MATLAB Grader for this problem. Because of variable scope in a function, MATLAB Grader is ca...

2 months ago | 0

Answered
What Matlab products should I buy as a student?
I think the link you want to look at is this: https://www.mathworks.com/store If you need help selecting the products you need...

2 months ago | 1

| accepted

Answered
Is there a way of creating a code so every time you save a figure as .mat it automatically also saves it as .bmp?
There is code you can add to your script/function so that once a figure has been created, it will save it. This is done with t...

2 months ago | 0

Answered
too many input argument while plotting date and time
Not sure exactly what your desired outcome is. However, why not use readtable, which loads your data into a table? It can handle...

2 months ago | 0

Answered
cut function and plot
plot(f(10:20)) If you would like to understand more, I highly recommend going through MATLAB Onramp. Chapter 5 address how to s...

2 months ago | 0

Answered
Sorting by multiple columns in a table with natural number sorting
Here's a simple example that works for me: pairNum = randi(15,1,200)'; trialNum = randi(15,1,200)'; data=table(pairNum, trial...

2 months ago | 0

| accepted

Answered
Editing a Colormap in MATLAB
My suggestion would be to create an image, set it as you want, save the colormap and color axis limits to a mat file. cmap = c...

2 months ago | 0

| accepted

Answered
Plots in App Designer
What behavior do you want? Just the two plots, or do you want to add the new plots to the old ones? If you only want the two, t...

2 months ago | 0

| accepted

Answered
How can I change the icon of my AppDesigner-produced GUIs?
This this answer.

2 months ago | 0

Answered
Can't plot multiple figures in one axes in app designer
When you push the plot button, what error message are you getting? I suspect it says "Undefined function or variable 'on'." Try...

2 months ago | 1

| accepted

Answered
Trouble using retime to obtain 1 year of hourly average values from 15 years of hourly average values
There are several options to try if you want to explore. The functions varfun and rowfun work on all variables in a timetable. I...

3 months ago | 1

Answered
how to create a char
You don't have to create a file. carsmall is a mat file. Loading it loads all the variables you need into your workspace. I jus...

3 months ago | 0

Answered
How to get Matlab read my char file in excel?
dlmread shouldn't work. From the documentation: "(Not recommended) Read ASCII-delimited file of numeric data into matrix". "M =...

3 months ago | 1

Answered
How to resolve the error "Grader sent no response"?
As part of the Machine Learning course, you are granted access to MATLAB Online for free. Try submitting there. It will work.

3 months ago | 0

Answered
saving gray scale images in a 3D array
Not sure. It works for me. Check that all your images have the exact same dimensions. Also, sanity check your code. What happe...

3 months ago | 0

Answered
How to do the 3D vector plot from dataset?
Here's the code that will load and plot the data. opts = detectImportOptions("11x11x11 in 3D.xlsx"); opts.VariableNames = {'X'...

3 months ago | 0

Answered
Clear the content of axes under panel using push button
The code would be cla(ZDomainCascadedImageAX) Your issue is more likely related to variable scope. The pushbutton will have it...

3 months ago | 0

Answered
Loop through images in GUI
Unsure what is suppose to happen when transitioning 3->4, 6->7, and 9->1, but I'd do something like this function next_block_Ca...

3 months ago | 0

Answered
GUI imagesc not working
Need some more details about your variables if you want help. Are you seeing any error messages? Also, what is the size of ha...

3 months ago | 0

Answered
Setting a limit for a linear fit line
How are you fitting? Are you using polyfit? fit? fminsearch? MATLAB will only fit the data points you give it. If you want to l...

3 months ago | 0

Answered
How to create GUI
If you've never used Guide before, I recommend using app designer. Here's some sample code that can help you out.

3 months ago | 0

Answered
how to plot a signal from text file data using matlab gui push button?
Try this answer. It's a similar request with a simple answer.

3 months ago | 0

Answered
Importing Time data from excel.
I find readtable works best with Excel files. opts = detectImportOptions('file_name.xlsx'); data = readtable("file_name.xlsx",...

3 months ago | 0

Load more