Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Actif depuis 2018

Statistiques

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

Afficher les badges

Content Feed

Afficher par

A répondu
Comments in code for orientation not clear
I would suggest contacting the author of the code. She has kindly included her name and email address in the comments

environ 20 heures il y a | 0

A répondu
how to use assert to test logical array
Use all. checkfuse = [true;false] assert(all(checkfuse),'Fuse error')

2 jours il y a | 0

| A accepté

A répondu
Inquiry on why matlab return certain values wrong
No value is assigned to f0 in the following condition if f12==0 Na=1:1:((fix(f10/2)-2)/2); for a=1:1:((fix(f10/2)-2)/...

2 jours il y a | 1

| A accepté

A répondu
Unable to perform assignment because the left and right sides have a different number of elements.
This error occurs because you are trying to assign more than 1 value to one element of a. % this Works a(1) = 5; % This dupli...

2 jours il y a | 0

A répondu
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 jours il y a | 1

| A accepté

A répondu
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...

3 jours il y a | 0

A répondu
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...

5 jours il y a | 0

A répondu
skipping augmentedImageDatastore to train a net
You will need to remove it from your network. Look into removeLayer

5 jours il y a | 0

A répondu
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...

6 jours il y a | 1

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

7 jours il y a | 1

A répondu
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 ...

7 jours il y a | 0

| A accepté

A répondu
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 ...

8 jours il y a | 0

A répondu
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...

8 jours il y a | 0

| A accepté

A répondu
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...

9 jours il y a | 0

| A accepté

A répondu
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...

10 jours il y a | 0

A répondu
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...

10 jours il y a | 0

| A accepté

A répondu
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...

12 jours il y a | 1

| A accepté

A répondu
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...

12 jours il y a | 0

| A accepté

A répondu
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 ...

13 jours il y a | 0

| A accepté

A répondu
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...

13 jours il y a | 2

| A accepté

A répondu
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 ...

13 jours il y a | 0

A répondu
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...

13 jours il y a | 1

| A accepté

A répondu
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...

14 jours il y a | 0

A répondu
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(:,...

16 jours il y a | 0

| A accepté

A répondu
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...

16 jours il y a | 2

A répondu
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...

18 jours il y a | 0

A répondu
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...

18 jours il y a | 0

A répondu
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...

19 jours il y a | 0

| A accepté

A répondu
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...

19 jours il y a | 0

A répondu
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...

19 jours il y a | 0

Charger plus