Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

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

View badges

Content Feed

View by

Answered
readtable with datetime, format problem
I think now that the issue is clearer, I'll propose another solution. The challenge now is that some of your files save the Rec...

3 hours ago | 1

| accepted

Answered
readtable with datetime, format problem
The 'InputFormat' argument is only useful for date strings. Excel applies a display format to dates and times, so what you see i...

8 hours ago | 0

Answered
Get quiver plot arrows to connect up contour lines
Getting the coordinates of your contour lines is fairly straightforward, as it's an output of the contour function. There's a li...

2 days ago | 0

Answered
skipping augmentedImageDatastore to train a net
You will need to remove it from your network. Look into removeLayer

2 days ago | 0

Answered
Aligning a linear and non-linear x-axis
The axes you are plotting into are linear, so I think the best solution would be to plot both plots using wavelength, and then c...

3 days ago | 1

Answered
Hydraulic Pipe - SIMSCAPE
Resistance and fluid density are not properties of the Hydraulic Ppeline block. Instead, use Linear Hydraulic Resistance and Hyd...

4 days ago | 1

Answered
MATLAB graders issues, i want to use one funtion from another problem
Each problem in MATLAB Grader is independent of the other problems. You can add external files to a problem for learners to use ...

4 days ago | 0

| accepted

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
Two ideas come to mind. Both require that the number of points freqturned by freq(I) be the same for every sample. If you know ...

5 days ago | 0

Answered
The "run" command does not work in GARDER.
I assume you are refering to MATLAB Grader. Certain commands and functions are not allowed when running code in MATLAB Grader, i...

5 days ago | 0

| accepted

Answered
How can I open a hyperlink from a button callback in AppDesigner?
I get an error when using the command you shared linkstring = 'https://www.mathworks.com'; web(linkstring,'UniformOutput', fal...

6 days ago | 0

| accepted

Answered
Which products should I select ?
The good thing is you don't have to decide right now. You can use the Add Ons Explorer to add additional toolboxes as the need a...

7 days ago | 0

Answered
create script to matlab function
Check out the Refactor button in the ribbon. This will convert the highlighted code to a function. See this video demonstration...

7 days ago | 0

| accepted

Answered
Convert Excel to csv with exact formatting
To achieve what you have requested, I believe you will need to load the data into MATLAB and then write it to a csv file using f...

9 days ago | 1

| accepted

Answered
MatLab does not reads Excel sheet properly
readtable just loads the data as is. You will still need to write code to perform any manipulation to the data. Perhaps fillmiss...

9 days ago | 0

| accepted

Answered
optimization toolbox missing for simbiology
It is a separate toolbox. If it is included in your license, you can install it using the Add-Ons explorer. You can see a list ...

10 days ago | 0

| accepted

Answered
split a matrix into two matrices according to some rule
I would look into clustering. Here is an attempt that uses dbscan, a spectral clustring algorithm included in the Statistics and...

10 days ago | 2

| accepted

Answered
Not enough input arguments error while running kilosort in matlab
Process data is a function, not a script function [rez, DATA, uproj] = preprocessData(ops) When you call a function, you have ...

10 days ago | 0

Answered
is it built in function or a structure ?
It is a helper function that is included with this example. On the upper right corner of the example page, use the 'Open in MATL...

10 days ago | 1

Answered
How can I use splitapply() in matlab appdesigner?
You could use a differnt function that incorporates grouping, like gscatter. load carsmall gscatter(Displacement,Horsepower,Mo...

11 days ago | 0

Answered
StackedPlot with two tables with specific variables
If they have the same number of rows, I think what you would want to do is T = [A(:,["variable1ofA","var2ofA", "var3ofA"]),B(:,...

13 days ago | 0

| accepted

Answered
How to use setvaropts for strangely-formatted text file
You need to set the 'InputFormat' instead of the 'DatetimeFormat'. opts = detectImportOptions('chuSampleFile.csv'); opts = set...

13 days ago | 2

Answered
error unrecognized function or variable help me please :(
You need to define your function inputs. You have no variable in your workspace names signalsCell. Define one before calling you...

15 days ago | 0

Answered
I don't know how to fix this
The issue appears to be in your function coderun_radar_simulation, which has not been shared. You are trying to capture the outp...

15 days ago | 0

Answered
How to pull dates out of character array, to get a datetime array. The character array was created from a log file in txt format.
charArray = ['METRIC ALERT LOG - Sun Jan 1 13:15:20 2023' 'METRIC ALERT LOG - Sun Jan 1 21:30:20 2023' 'METRIC ALERT...

16 days ago | 0

| accepted

Answered
How to ignore special characters and retrieve the data prior to the character
I think another rather straightforward approach is to treat * and # as delmiters. I've simplified the read function for readab...

16 days ago | 0

Answered
MATLAB GUI code the Active Receptor should increased when at TstartLigand but im plot its decreased . Secondly how to get rid of this matlab ui.control even
The items you have circled are the Edit Field labels. An edit field component consists of an edit field and its label. To rem...

16 days ago | 0

Answered
how to add markers on specific points ??
The MarkerIndices property was introduced around R2016b. This allows you to specify which points have a marker. See this example...

16 days ago | 0

Answered
How can i create a black and white mask for my thermo image? When i run this code,my mask is just a green block but it should be white and black. Everything under 10 is white
You are changing the colormap for the entire figure. You need to change it for just the specific axis. Try updating the code in ...

16 days ago | 0

Answered
Adoption of Name=Value in Function Calls what is best practice?
This really comes down to personal preference. They are all equivalent syntatically. Name=value syntax can feel more familiar fo...

16 days ago | 1

Answered
Quiver plot - vector direction
Your U and V values are all positive, so all quivers will point up and to the right. I think you want U and V to be the differe...

17 days ago | 0

| accepted

Load more