Community Profile

photo

Cris LaPierre

MathWorks

Last seen: Today Active since 2018

Statistics

All
  • 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 extract only 10 compression cycles using following data
I think Star Strider gave a pretty good response to your previous question on how to extract cycles and plot them. https://www....

etwa 3 Stunden ago | 0

| accepted

Answered
Graph only plotting 1 point
The default syntax does not include a marker style. If your plot is only a single point, then you cannot see the line. Just incl...

etwa 3 Stunden ago | 0

Answered
Porblem in exporting a txt file
Here's how I would load the data using option 1. I'll let you worry about shaping the data to make the table you want. % branch...

etwa 4 Stunden ago | 0

Answered
draw a 3d graph with mat function
Your code is correct. You just need to increase the resolution of your mesh. Remember that the colon operator steps by 1 by defa...

etwa 15 Stunden ago | 0

| accepted

Answered
why my second stl file is at an angle and not horizontal as first ?
STL files contain vertice coordinates. What you see on the plot is an exact representation of the vertices in the file. If it is...

etwa 15 Stunden ago | 0

Answered
how to calculate mean value in each row of data?
Use mean and specify the dimension (1=down rows, 2=across columns) M = mean(A,dim)

etwa 16 Stunden ago | 0

| accepted

Answered
Analyzing Rainfall data and sorting the data appropriately
Look into timetables, groupsummary and perhaps grpstats.

etwa 16 Stunden ago | 0

Answered
Saving workspace via command
save(filename)

etwa 19 Stunden ago | 0

Answered
How to combine multiple plots using subplot?
New to MATLAB = MATLAB Onramp (Ch 9 introduces plotting) I think the issue is that you are inconsistent with your subplot numbe...

etwa 21 Stunden ago | 0

| accepted

Answered
Change number of drop downs based on spinner value using matlab app designer?
It's possible. See this page. You may find this blog post instightful as well. The hard part is going to be dynamically coming ...

ein Tag ago | 0

Answered
The graph wasnt showing the appropiate answer
You have specificed a sample frequency of 10 Hz (Ts=0.1). Therefore, according the Nyquist criterion, the highest frequency you ...

ein Tag ago | 0

Answered
Matalb App inputs dont work unless pressed?
This sounds like an issue with how you process your data. Inspect what the code in your checkbox callback functions is doing to ...

ein Tag ago | 0

Answered
Export data to a new raw of an existing Excel
I would use writetable with the 'WriteMode' set to 'Append'. 'Overwrite' is the default. See this example.

ein Tag ago | 0

Answered
Make an Histogram with 24 bars
Check out the documentation for histogram. You likely want to use one of these syntaxes. histogram(X,nbins) histogram(X,edges)...

ein Tag ago | 0

Answered
Simplify Matrix decimal to integers
It's likely going to take two functions: one to convert your symbolic expressions to numeric, and a second to round. I would pr...

ein Tag ago | 0

Answered
Why am I getting this error : "Warning: Imaginary parts of complex X and/or Y arguments ignored " .
Because you are trying to plot complex values on cartesian axes. You create cx and cy as complex numbers % ...

ein Tag ago | 0

Answered
Number of points inside polygon is returning 0 but should be a bigger number
In line 114 of the code you have shared, you have reversed your lat (you name it Y) and lon (you name it X) data. Flip those, an...

ein Tag ago | 0

| accepted

Answered
How do I select specific rows in a 1x15 matrix?
See Ch 5 of MATLAB Onramp (indexing into and modifying arrays)

2 Tage ago | 0

Answered
Fractional expression to decimal expression in symbolic function
See this answer Summary: use vpa(x,d) or use digits

2 Tage ago | 0

Answered
How do I watch demo video without flash player on my company PC?
The getting started with MATLAB content has moved oniine. The main getting started page for MATLAB (similar to your screenshot) ...

2 Tage ago | 0

| accepted

Answered
Unrecognized function or variable
You start your script with 'clear all', so no variables exist in your workspace. Then in your 5th line of code, you try to use y...

2 Tage ago | 0

Answered
How to perform Double Sum with the help of loops?
See the nested for loop example on the for documentation page. BTW, if i+j=3, then there is no double summing necessary, right?...

2 Tage ago | 0

Answered
"Array indices must be positive integers or logical values." - a new problem
What are your input values for First and Last? What are the values for vlength1 and vlength2? The error means you are trying to...

2 Tage ago | 0

Answered
Only the final iteration in the loop is saved. How to save all the iterations ? * Note: all are displayed, but not saved except the last *
You need to use indexing to assign your angles to a different element of Angles each loop. Right now, you overwrite Angles every...

2 Tage ago | 1

| accepted

Answered
How to plot shapes in one figure
Use hold on https://www.mathworks.com/help/matlab/ref/hold.html

2 Tage ago | 0

Answered
How do I convert a group of 3x3 matrices that are contained in a 3xN array, into a 3x3xN/3 array?
MATLAB uses column-major order by default, which means the data is organized internally as if the columns were stacked head-to-t...

2 Tage ago | 1

| accepted

Answered
Problem with drawline and drawpoint in 2021b
What is happening is that drawline is registering the click on the canvas (i.e. it is not limiting clicks to when the cursor is ...

2 Tage ago | 0

Answered
what changes can I make so that all files are selected automatically
uigetfile does not have an option that automatically selects all files. Consider using uigetdir instead of uigetfile. You can th...

2 Tage ago | 0

Answered
I have been working on this code. But it's kept showing me this error. Please help me
You likely just need to enter the function code into MATLAB Grader

3 Tage ago | 0

Answered
How to fix: Index Exceeds Matrix Dimensions.
I placed your code inside an infinite while loop and ran it for 15 minutes and no errors occurred. Perhaps there is some additio...

4 Tage ago | 0

Load more