Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

All
  • Most Accepted 2021
  • 24 Month Streak
  • Ace
  • Thankful Level 2
  • Revival Level 4
  • Solver
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
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

Answered
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

Answered
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

Answered
Hi, Please help me convert these mathematical calculations into matlab code
If you spend about an hour of time in MATLAB Onramp (first 8 chapters), you could perform these calculations yourself.

5 hours ago | 0

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

Answered
Scatter3 plot to solid model
Try this answer. k=boundary([V(:,1),V(:,2),V(:,3)]); trisurf(k,V(:,1),V(:,2),V(:,3),'EdgeColor','none')

2 days ago | 0

| accepted

Answered
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

Answered
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

Answered
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

Answered
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

Answered
Matlab online: Large .mat loaded 12/28/2021; won't load now
Contact support.

3 days ago | 0

Answered
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

Answered
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

Answered
How do I plot a 3D cube in a 3D array?
See this page.

4 days ago | 0

Answered
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

Answered
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

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

Answered
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

Answered
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

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

5 days ago | 0

Answered
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

Answered
Can someone help me writing this equation in matlab, I appreciate,..
Writing the equation is rather straightforward. You just need to decide what variable names you want to use. Here's one way. z ...

5 days ago | 0

Answered
Trying to index an array and extract its values with a for loop.
See MATLAB Onramp Ch 5: Indexing and Modifying Arrays. You might also find Ch 12: Programming helpful since it covers for loops...

6 days ago | 0

| accepted

Load more