Community Profile

photo

Cris LaPierre


MathWorks

409 total contributions since 2018

Cris LaPierre's Badges

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

View details...

Contributions in
View by

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

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

9 Tage 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...

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

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

14 Tage 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...

14 Tage 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...

etwa ein Monat 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...

etwa ein Monat 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...

etwa ein Monat 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...

etwa ein Monat 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...

etwa ein Monat 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...

etwa ein Monat ago | 0

| accepted

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

etwa ein Monat 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...

etwa ein Monat 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...

etwa 2 Monate 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...

etwa 2 Monate 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 =...

etwa 2 Monate 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.

etwa 2 Monate 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...

etwa 2 Monate 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'...

etwa 2 Monate 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...

etwa 2 Monate 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...

etwa 2 Monate 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...

etwa 2 Monate 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...

etwa 2 Monate 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.

etwa 2 Monate 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.

etwa 2 Monate 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",...

etwa 2 Monate ago | 0

Answered
Contourf and colormap limits
The problem is your data goes from [-6.5 8]. The 16 contour lines have been drawn for that. Then when you call caxis, you get ri...

etwa 2 Monate ago | 0

| accepted

Answered
how to load .mat file into gui with edit box
The file name isn't important since you capture that in a variable. What is the name of the variable in your mat file? When you...

etwa 2 Monate ago | 0

| accepted

Answered
3D matlab plot
I can confirm that MATLAB is plotting the values recorded in the GPS file. How are the GPS values obtained? In what units?

etwa 2 Monate ago | 0

Load more