Community Profile

photo

Cris LaPierre

MathWorks

Last seen: 1 day ago Active since 2018

Statistics

All
  • 36 Month Streak
  • Community Group Solver
  • Thankful Level 4
  • Most Accepted 2021
  • Ace
  • Revival Level 4
  • Solver
  • Knowledgeable Level 5
  • First Answer

View badges

Content Feed

View by

Answered
[macOS] MATLAB Drive Connector requires login on every restart
Please contact support

22 hours ago | 0

Answered
Find complete rows that meet a condition
You could use two conditions - one for the first column and another for the 2nd column - to find the rows that meet your criteri...

1 day ago | 0

Answered
Plotting a multi-dimensional matrix
If you want to create a 2D line plot where there is a different line (data series) for each sheet of your array, the simplest wa...

1 day ago | 0

Answered
How to add max and min data label of plot in matlab with help of annotation?
You limit you view of the data in the figure by using xlim, but not your search for max and min values. This does mean some of t...

2 days ago | 0

Answered
How to set number of value ranges in colorbar?
Use the 'tick' property to specify tick locations. See this related answer: https://www.mathworks.com/matlabcentral/answers/4477...

2 days ago | 1

Answered
find(V,1) returns an index that doesn't match with the plot
Find tells you the index value of the elements of SL_B_Optml that meet your criteria. It therefore will be an integer value. How...

3 days ago | 0

| accepted

Answered
There are no products to uninstall
This new error suggests that you have not installed the MATLAB Engine for Python. Follow the instructions here: https://www.mat...

3 days ago | 0

Answered
Calcuating equally-spaced sums from unevenly-spaced time-series data
I would put your datetime and bytes into a table (consider cell2table). Convert your times to datetime, and then use sortrows to...

4 days ago | 1

| accepted

Answered
Datetime errors when I import data
You are passing a character array into the datetime function, not a variable Maturity = datetime('Scadenza'); This line of cod...

4 days ago | 0

| accepted

Answered
Workspace selection dropdown when debugging missing in R2022a
I believe it is still there but in a differnt location. See this page: https://www.mathworks.com/help/matlab/matlab_prog/examin...

5 days ago | 0

Answered
There are no products to uninstall
See this answer: https://www.mathworks.com/matlabcentral/answers/92244-how-do-i-uninstall-matlab-on-windows-when-the-uninstaller...

5 days ago | 0

Answered
Finding outliers in a dataset
If you process your data in a live script, consider interactively exploring different ways to detect and remove outliers using t...

6 days ago | 0

Answered
combine two cell into one string
I would do this in 2 steps. file = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/1085370/SummaryResult%20-%20...

6 days ago | 0

Answered
How to separate a vector into bins and average each bin
I don't exactly follow how you get from A to B, and I'm fairly certain there isn't a single function that will get you what you ...

7 days ago | 0

| accepted

Answered
Legend for dashed line
I suspect the issue is that you are missing a 'hold off' and have run your code multiple times. At least I could duplicate by ru...

7 days ago | 0

Answered
How to ensure that MATLAB reads the first column as a column in a table?
You are using 'RowNames', which are not considered a table column. You therefore either need to use rownames everywhere (origina...

9 days ago | 0

| accepted

Answered
Help plotting specific points
plot the data as you normally would (see Ch 9 of MATLAB Onramp if you need help with that). I'd recommend scatter. Then to modif...

9 days ago | 1

Answered
Problem with output of fprintf command
Look at the examples for fprintf in the documentation. You need to include a format specification to include variable values. x...

9 days ago | 1

| accepted

Answered
How to fix index in position 2 exceeds array bounds (must not exceed 1920)
The error message indicates that you are trying to index your variable using a value that exceeds the size of the array. Here, p...

9 days ago | 0

Answered
Counting the number of values using hiscounts with 2 arrays
It is unclear to me exactly what you are trying to do, and why you need to have A to know the bincounts of B. All you need is th...

10 days ago | 0

| accepted

Answered
Plot average monthly flow from Jan-Dec for 'x' number of yrs on one plot using the provided data
Group by year and monthofyear. Then you can use ismember and reshape to identify and organize the data in a manner that will all...

10 days ago | 1

| accepted

Answered
How to change repeat dates that occur right after each other
Perhaps not the most straightforward way, but this appears to work for me on your processed Nightly_Prompt.xlsx data. Basically,...

12 days ago | 0

| accepted

Answered
AppDesigner axes, component creation error
Perhaps this answer is helpful https://www.mathworks.com/matlabcentral/answers/416995-display-video-stream-in-app-designer

12 days ago | 0

Answered
Plotting log functions in App designer
It looks like you tried to replace the for loop with an elementwise multiplication. However, your syntax for rangevar is only re...

13 days ago | 0

| accepted

Answered
How do I plot multiple fields in one graph, which are stored in a 1x1 structure?
Continue using the dot notation to access each field of your structure. I think something like this should work: x = Erodierver...

13 days ago | 0

| accepted

Answered
Three plots with tiledlayout
One way to do this is to use the following syntax: nexttile(tilelocation,span) Below, I create a 2x4 grid instead of 2x2. Then ...

13 days ago | 0

| accepted

Answered
How can I plot a curve while changing color every N points ?
You would have to have a separate plot call for each line segment. Maybe something like this? N = 10; C=parula(N); % returns 2...

13 days ago | 0

Answered
Necessary Tools coming with MATLAP
You won't need every toolbox, but it's also hard for us to say which ones you will need. Is there another PhD student in your pr...

14 days ago | 0

Answered
Read string and numeric array in CSV file
If you save your file as a 'xlsx' file, you could take advantage of the 'Range' option in readtable. Without it, you may have t...

14 days ago | 0

Answered
Using to the 'fill' function to plot a filled polygon that are confidence intervals
Your code looks fine. Check what your values of CIlow and CIhigh are. x = logspace(0,140,16); %x-axis data, 1 x 16 double y = ...

14 days ago | 0

| accepted

Load more