Community Profile

# Cris LaPierre

### MathWorks

Last seen: Today Active since 2018

All

#### Content Feed

View by

How can I change scaling of my graph depending on the output value?
The issue is that, by setting your XTicks manually, you have changed the XTickMode to manual instead of Auto. Therefore, your ti...

2 hours ago | 0

| accepted

Y data addition on scatter plot
Use square brackets to define vectors, not curly braces. You might find MATLAB Onramp helpful, especially chapters 2, 4 & 9. Als...

3 hours ago | 1

Missing value for predict in Classification Learner App
I was able to train using trainingData and test using testingData in R2021a without getting any errors. Can you provide more ...

4 hours ago | 0

| accepted

If you spend about an hour of time in MATLAB Onramp (first 8 chapters), you could perform these calculations yourself.

5 hours ago | 0

Binning 2 columns and summing 3rd
I would put your data into a table, then use groupsummary to bin and sum the data as you describe. You will find the Access Data...

5 hours ago | 0

| accepted

How to filter out the noise to see the general trend
I might suggest using the Smooth noise data Live Task. This will allow you to interactively filter your data. Once you have a re...

6 hours ago | 0

Adapt size of vector with interp1
I don't think using random number matrices creates a meaningful example here. Consider this example from the interp1 documentati...

6 hours ago | 0

importGeometry pde not closed volume H I Beam Partial Differential Equation Toolbox
A quick check with an STL checker (Materialize MiniMagics) found 16 bad edges, which prevents the STL from being 3D printed (wha...

18 hours ago | 0

create a new column of data showing (n+1)-n of old column
This is what the diff function does. If X is a vector of length m, then Y = diff(X) returns a vector of length m-1. The element...

21 hours ago | 0

| accepted

How to sum elements of matrix in certain condition?
A = [1.0999 -1.0999 -2.0590 0 -1.0999 0 0; 0 0 0.1168 -0.1168 0 -1.099...

1 day ago | 0

| accepted

xlswrite inserting characters to excel formula help
I think the issue is that QFS is not a recognized Excel formula, so Excel is assuming you are using a named table reference (I t...

2 days ago | 0

| accepted

Expert Guide Required for plotting this array
You plotting code is fine. The issue is the syntax error in the line before your plot command. I'm not sure what the '= [p]' is ...

2 days ago | 1

| accepted

Scatter3 plot to solid model

2 days ago | 0

| accepted

Plots with [N x M] Matrix
You may want a histogram. histogram(X,edges) % nxm matrix grades = randi(100,5,3); histogram(grades,[0:10:100]) xlabel("Gra...

2 days ago | 0

| accepted

How do I open a .raw file so that it can be viewed as a table?
Consider starting with this: T = readtable("OS-1-69-B1-HT.is_comp.raw",'Delimiter',{'"',','},... 'FileType','text','numHea...

3 days ago | 0

| accepted

How to plot the results below ?
I would suggest converting the extracted timestamps to durations. Then you can just plot it. The x value will be the index numbe...

3 days ago | 0

| accepted

Plot some given waveforms using Matlab
Perhaps look into how they developed the simulation model in this paper. They cite this model as the inspiration for their appro...

3 days ago | 0

Contact support.

3 days ago | 0

Find local min point in plot
I suggest trying out the 'Find local extrema' live task. This will allow you to interactively set criterial for finding maxima a...

4 days ago | 0

How to find points inside Singapore?
You are correct, landareas does not contain a shape with the name 'Singapore'. landareas = shaperead('landareas.shp','UseGeoCoo...

4 days ago | 0

| accepted

How do I plot a 3D cube in a 3D array?

4 days ago | 0

search character in table
You are not using isfield correctly. This function is for searching structure array fieldnames, not character vectors. Conside...

4 days ago | 0

Error Plot App Designer
First off, check out the Access Data in Tables page. There is no need to do this: YData = table2array(T(:,"C")); You can simpl...

5 days ago | 1

| accepted

"Data variables must be numeric or logical" despite variable being logical when using grpstats
The issue is not your grouping variable, it is your tblData. Specifically, trialType, which is a cell, and not numeric or logica...

5 days ago | 0

How to make the output of a command into the variable for data
See the Generate Field Names from Variables doc page. You might also be interested in the RenameField function, available on th...

5 days ago | 0

| accepted

convert an empty cell to a string
I guess it depends on what you want the empty string value to be. The code is straightforward enough. A={[NaN]} B = string(A) ...

5 days ago | 0

| accepted

iam trying to make a function for graph
https://www.mathworks.com/learn/tutorials/matlab-onramp.html

5 days ago | 0

Hello Everyone, I am new in MATLAB and I want to get result of this code(MATLAB2021a), its run correctly but doesn't show the result. Anyone can help me?? thanks in advance
Here is perhaps some starter code for you on how to create a MATLAB table. rowNms = ["WIFI";"WIMAX";"UMTS";"LTE"]; varNms = ["...

5 days ago | 0

| accepted