Community Profile

photo

Cris LaPierre


Last seen: Today

MathWorks

1,242 total contributions since 2018

Cris LaPierre's Badges

  • 12 Month Streak
  • Guiding Light
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

View details...

Contributions in
View by

Answered
How to add greek symbols in plot text
The text function uses the tex interpreter by default. Use that to create include greek letters (and super/subscripted text) in ...

9 hours ago | 0

Answered
How do I make my axis label text like this on a graph?
MATLAB axis labels use the tex interpreter by default. So just take advantage of that. xlabel('^{super} Normal _{sub}')

9 hours ago | 0

Answered
While plotting, how to Convert YYaxis left via some formula and display it on YYAxis right...(Using R2020a)
The YTick location and label are separate properites, though by default are the same value. I would probably try to do this by c...

9 hours ago | 0

| accepted

Answered
Pareto chart not displaying all inputs (some too small(?))
The default behavior is described in the documentation: "By default, either the tallest 10 bars or first 95% of the cumulative ...

10 hours ago | 0

Answered
Solutions Help Please!! - MATLAB for Behavioural Scientists
I think you will find plenty of people willing to answer whatever questions you may have, but you will likely not find much succ...

10 hours ago | 0

Answered
Issue creating a heat map of 512x512 matrix.
I suggest using readmatrix instead of csvread. With a 512x512 matrix, I would suggest imagesc instead of heatmap. Rows correspo...

11 hours ago | 0

| accepted

Answered
Online Live Tutoring?
You could look for examples and webinars on the MathWorks website. Here are a couple I found with google. Digital Filtering Si...

11 hours ago | 0

Answered
Out of memory. The likely cause is an infinite recursion within the program.
Like the error message is saying, your problem is infinite recursion. Your function name is the same as the function you define ...

11 hours ago | 0

| accepted

Answered
How to plot with if statement
I suggest going through MATLAB Onramp. Ch 9 - plotting Ch 13 - if statements, for loops

20 hours ago | 0

Answered
What does a cross (horizontal line) in the regression plot of a neural network mean with multivariant input and output?
Normalizing is a standard preprocessing step. It is helpful when you have several inputs to your model that are of different sca...

23 hours ago | 0

| accepted

Answered
I want to plot the above equation in matlab but i dont know how to plot please help or provide me code
Ch 9 of MATLAB Onramp covers plotting. If you are new to MATLAB, consider going through the entire onramp.

23 hours ago | 0

Answered
Generate random decimal value
r=rand+1

24 hours ago | 0

| accepted

Answered
How do I make my 3D graph plot within the MATLAB GUI and not as a separate figure
Typically this is done by specifying the axes to plot into as part of the plotting command. See this documentation page for an e...

2 days ago | 0

Answered
overwriting in a loop
You have two for loops with loop counters i and j. You last line is using the outer counter, i. If you want to keep every value,...

2 days ago | 0

| accepted

Answered
how to get a drawing with the same axes?
add the following command after your plot command. axis equal

2 days ago | 0

| accepted

Answered
where can I find the type IV wind turbine model used in the examples of renewables
Assuming this is the example you are referring to, I belive this block is a custom block created by the authors of that example....

2 days ago | 0

Answered
How can I group data points together
It doesn't sound like you want to average them. For the example you've given, why not just round the numbers down to 2? The func...

3 days ago | 0

Answered
Generate list of 2 digit combinations without repetition
I suspect [2 0] meets your standard for being repetitive as well? I'm assuming yes, otherwise the definition seems arbitrary. I...

3 days ago | 0

| accepted

Answered
3rd time asking this question, still hopeful. How can I match my bar colors to my plots?
It's not entirely clear to me what you want. Do you want one bar plot, where each bar has a different color? c = {'b','r','g',...

3 days ago | 0

| accepted

Answered
How can I change the title bar icon of my app?
Starting with R2020b, there is now an icon property. You can use it to "specify custom icons for UI figure windows and toolbar p...

4 days ago | 1

Answered
Script: Indexing in function problem
Functions cannot be defined in the middle of your code. You will need to either place it at the bottom of your script, or in a s...

11 days ago | 0

Answered
How to get files back from the cloud MATLAB Online?
MATLAB Drive is the file system used in MATLAB Online and MATLAB Mobile. You can access your files at drive.matlab.com. You cou...

11 days ago | 0

Answered
How to make the x and y vector the same length
Take a look at the documentation for linspace. If you only input the start and stop values, linspace creates a vector with 100 ...

11 days ago | 0

| accepted

Answered
getting error in simulink onramp "Matlab Function block 7.2"..Failed to evaluate mask initialization command..
You need to connect the Signal Assessment block to the output signal labeled "Power". However, when I tested without having it ...

11 days ago | 1

| accepted

Answered
Cannot load built-in Image Histograms example from App Designer window
I don't know why that would have happened. Reinstalling might fix the issue. You might check if the app is on your computer. It...

11 days ago | 0

Answered
surface plot face not showing colors corresponding to Zgrid in some areas
This has to do with how surface plots are created. For an alterante explanation, see this post. Basically, your values are repr...

12 days ago | 0

Answered
plot3(X,Y,Z)
With plot3, you do not have to use meshgrid. Just create a vector a X values, a vector of Y values, and compute your Z values fr...

13 days ago | 0

| accepted

Answered
D'Agostino's skewness test
I'm not familiar with what R does, but you can see the algorithms used in MATLAB's skewness function here.

13 days ago | 0

Answered
Grayscale Image cannot be output in the GUI Matlab
The function rgb2gray returns an mxn matrix. However, as you can see in the error message, the image component in an app require...

13 days ago | 0

| accepted

Answered
Attempt to execute SCRIPT ... as a function:
The issue is that you are treating your script as a function. Functions have inputs, scripts do not. >> testfunktion(10) Just ...

13 days ago | 1

| accepted

Load more