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

2 jours 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 ...

3 jours 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...

4 jours ago | 0

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.

6 jours 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...

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

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

29 jours 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...

29 jours 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...

29 jours 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...

29 jours 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...

30 jours 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...

30 jours ago | 0

| accepted

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

30 jours 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...

environ un mois 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...

environ un mois 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...

environ un mois 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 =...

environ un mois 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.

environ un mois 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...

environ un mois 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'...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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...

environ un mois 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.

environ un mois 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.

environ un mois 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",...

environ un mois 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...

environ un mois 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...

environ un mois 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?

environ un mois ago | 0

Load more