Community Profile

photo

Cris LaPierre

MathWorks

Last seen: 1 day ago 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
Loading the DL model
You will need to find an example that uses this file and use the Open in MATLAB Online or Copy Command workflows to download the...

9 hours ago | 0

Answered
3d slices GUI
The closest tool I know of is creating a clipping plane. It does not seem to let you create slices based on that plane, but it w...

13 days ago | 0

Answered
audioplayer() not enough input arguments
See this Answer for a potential fix, which is that app.sound might need to be declared as a public property of the app. https:/...

14 days ago | 0

Answered
Input Size Mismatch on LSTM model development
The input to the lstmLayer is the number of features (a scaler), not the size of the input. See this answer: https://www.mathwo...

17 days ago | 0

| accepted

Answered
PlzHelp:Invalid training data. Predictors must be a N-by-1 cell array of sequences, where N is the number of sequences. All sequences must have the same feature dimension and
The error is in how the data is organized in imdsTrain.Labels It must conform to the following specifications https://www.math...

17 days ago | 0

Answered
Error using medicalref3d/intrinsicToWorld Invalid argument at position 2. Value must be integer.
There appears to be an issue with the intrinsicToWorld function. There is no requirement in the documentation that these values ...

19 days ago | 0

| accepted

Answered
Replace Before A Specific Character
Is it a duration or a string? For a duration Just to give a different solution than the others, here is one way to update a du...

19 days ago | 1

Answered
Facing error in the optimization part. Kindly suggest solution
You have an indexing issue. Namely, w(r1). r1=reg1(i) reg1(1) = 11 w only has 7 elements reg1=[11,11,11,11,11,11,11,11,11,1...

20 days ago | 0

Answered
if nested functions supported in live scripts
Yes, MATLAB supports nested functions.However, you must call a function. You run a script. To enable the Run button, at the ver...

21 days ago | 0

| accepted

Answered
Plot coordinates of a tif image
Note that there is a projection associated with your SAR data. You need to know this projection in order to convert your scales ...

21 days ago | 0

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

24 days ago | 0

| accepted

Answered
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)/...

24 days ago | 1

| accepted

Answered
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...

25 days ago | 1

| accepted

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

25 days 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...

25 days 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...

27 days ago | 0

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

27 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...

28 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...

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

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

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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...

1 month 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 ...

1 month 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...

1 month 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 ...

1 month ago | 0

Load more