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
For TMW staff: Matlab Home/Cloud drive connector/macOS Mojave
You can see the system requirements here. For R2021b it says macOS Mojave (10.14) is no longer supported

8 hours ago | 0

Answered
How can I solve this issue?
No issue unless you want to create standalone applications. If you do but don't have a preferred compiler, you can install MinGW...

8 hours ago | 0

Answered
why is my vector empty
I'm not sure what you want wordarray to be. However, it's empty because you are using the colon operate and, since all ascii cod...

1 day ago | 1

Answered
MatLab on iPad Air 2021
See this answer. https://www.mathworks.com/matlabcentral/answers/355038-difference-betwen-matlab-for-ipad-pro-and-matlab-for-wi...

2 days ago | 0

Answered
How to normalize a matrix in such a wat that every row sum of X(:,:,i) should be 1 except for ith row
Why not just create a row vector of random numbers, and insert it into a matrix of ones? X = ones(sz1,...,szN)

2 days ago | 0

Answered
I want to create a variable that averages the data over one minute from a larger set of data
Not exactly sure what data looks like. I would use groupsummary with the groupbin set the 'minute' and the methods set to 'mean'...

2 days ago | 0

Answered
Why is my last line coming up as an empty sym?
I don't think you need to use solve in the final line. Substituting in 2 for x will return a value for y. There is nothing left ...

2 days ago | 1

Answered
How can I make 2.5x2.5 grid data to 0.5x0.5 grid data.
Use griddata. [Xq,Yq,vq] = griddata(x,y,v,xq,yq)

3 days ago | 0

Answered
Empty figure when trying to plot in a for loop
It looks like you are plotting your data one point at a time. MATLAB does not automatically include a marker in the line format,...

3 days ago | 0

| accepted

Answered
Converting 3D CAD files to stl?
I am not aware of a function for this. I have always used my CAD program to export my model to STL. Do you still have access to ...

3 days ago | 1

| accepted

Answered
Bar with descending data
Because your data is categorical, it is getting plotted in alphabetical order by default. You can change the order using reorder...

3 days ago | 0

Answered
how can i fix this error "Array indices must be positive integers or logical values"?
The error means that you are either using a number less that 1, or a decimal number to index a variable. As the error says, your...

3 days ago | 0

| accepted

Answered
Index exceeds the number of array elements (40)
Missing a lot of details here, but the error is easy enough to interpret. You are trying to access an element that does not exis...

3 days ago | 0

Answered
Extracting data from figures
You have the code that creates the figures, but you want to extract the data from the figure? Why? Don't you already have the da...

3 days ago | 0

Answered
Can't saveas in a specific folder => Error using saveas(line 60) Invalid handle
saveas saves a figure to a specific file format. The first input to saveas is expected to be a figure handle. You are passing in...

3 days ago | 0

| accepted

Answered
How can I detect car license 2 row?
See these examples: https://www.mathworks.com/help/vision/ug/automatically-detect-and-recognize-text-in-natural-images.html ht...

3 days ago | 0

| accepted

Answered
[Beginner] Plotting 3D graphs, but "Error using plot3 Vectors must be the same length."
You appear to have left out the code that initializes Z_1 and Z_2. Depending how you initialize them, Z_1 and Z_2 could have mor...

4 days ago | 0

Answered
How to make my code faster when working with for loop code & large array indexing?
A couple thoughts. The biggest speedup will happen by suppressing your outputs. Put a semi-colon after every line. Doing that, ...

4 days ago | 0

| accepted

Answered
Delete solutions Matlab Grader
There is not currently a way to remove all solutions. If that is a feature you would find helpful, consider suggesting it here. ...

4 days ago | 1

Answered
generate a matrix for each hour and every time it tells me -This is day 1 the ext temp is __ and these are temp for hour __ and display the matrix
Your code is already doing that (though I did add a semicolon to stop it from printing out T in every loop). If you want it to g...

4 days ago | 0

| accepted

Answered
Discrepancy between datenum and datetime?
It looks to me like there may be rendering issue here when the x values are datenums as opposed to datetimes. I added a scatter ...

4 days ago | 0

| accepted

Answered
just signed up and can't figure it out as it says :"Error using plot Vectors must be the same length."
The result of diff is a vector (you named it k) that has one element less than the input vector (you named it f). The error mess...

4 days ago | 1

| accepted

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

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

5 days ago | 1

| accepted

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

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

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

5 days 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)

5 days ago | 0

| accepted

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

5 days ago | 0

Answered
Saving workspace via command
save(filename)

5 days ago | 0

Load more