답변 있음
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...

6일 전 | 0

| 수락됨

답변 있음
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 ...

6일 전 | 0

| 수락됨

답변 있음
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...

6일 전 | 1

| 수락됨

답변 있음
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....

6일 전 | 0

| 수락됨

답변 있음
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...

6일 전 | 1

| 수락됨

답변 있음
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...

6일 전 | 0

답변 있음
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...

7일 전 | 0

| 수락됨

답변 있음
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...

7일 전 | 0

답변 있음
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)

7일 전 | 0

| 수락됨

답변 있음
Analyzing Rainfall data and sorting the data appropriately
Look into timetables, groupsummary and perhaps grpstats.

7일 전 | 0

답변 있음
Saving workspace via command
save(filename)

7일 전 | 0

답변 있음
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...

7일 전 | 0

| 수락됨

답변 있음
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 ...

7일 전 | 0

답변 있음
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 ...

7일 전 | 0

답변 있음
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 ...

7일 전 | 0

답변 있음
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.

7일 전 | 0

답변 있음
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)...

7일 전 | 0

답변 있음
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...

7일 전 | 0

답변 있음
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 % ...

7일 전 | 0

답변 있음
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...

8일 전 | 0

| 수락됨

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

8일 전 | 0

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

8일 전 | 0

| 수락됨

답변 있음
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) ...

8일 전 | 0

| 수락됨

답변 있음
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...

8일 전 | 0

답변 있음
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?...

8일 전 | 0

답변 있음
"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...

8일 전 | 0

답변 있음
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...

8일 전 | 1

| 수락됨

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

8일 전 | 0

답변 있음
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...

8일 전 | 1

| 수락됨

답변 있음
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 ...

8일 전 | 0

더로드