What is the best way to plot 3d data in matlab? [closed] - matlab

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
If i have data in NxN grid format (for example see figure) and each cell size is given by (Xmax/N) x (Ymax/N) and data given in each cell is the frequency data of that cell. What is the best way to graphically represent this data in MATLAB such that it is easy to view the frequency for each cell? If I would like to make it like in this example (see colormap), how can I do that what function should I used?

Your choice. Here I put several possibilities:
bar3: if you the points are discrete by meaning
surf or mesh : if the points are continuous by meaning
-imshow or image
in MATLAB 2017b or newer, heatmap
-contour, if you have a sufficiently detailed data
There may be more, please feel free to add them to the post.

Related

Regression Matlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
Identification of brain areas after language stimuli
Hi guys, I'm trying to solve a problem with my code in matlab. My goal is to identificate brain areas associated to language stimuli. After I performed some tasks, i arrived to plot the convolution between the BOLD signal and square signal (stimuli). Now, my goal is to perform a regression using regress between the convolution result (1x481 matrix) and a matrix containing the number of voxels of my brain images (92614x39) where the rows are the voxels and 39 are the MRI scans. So, the two matrices have different size and I have no idea how to perform a regression. Anyone could help me?

Clustering with Autoencoder [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I made a model for clustering and it's encoded dimension is about 3000. To check if the autoencoder is well established, I draw a 2d_pca plot and 3d_pca and the plots look nice.
My question is that, what is general way to cluster with this encoded features?
I think about some options:
First: to use all encoded features.
Second: to use all encoded pca features.
Third: to use some encoded pca features explaining almost 70% variance.
I think usual papers don't refer to it.

can Clustering be used for predictive Analytics? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Im still not sure how clustering can be used for predictive analytics?
can someone tell me how to predict the future from extracting clusters?
generally, clustering isn't used for prediction but for labeling or analyzing existing set of data points.
after you use clusters to label your data points and divide them into groups based on common traits, you can run other prediction algorithms on that labeled data to get predictions.
I don't think clustering leads directly to predictions, other than cases of clusters that are well separated and can be used to make inferences about the data points and the properties of the clusters

what are the conclusions obtained from this box plot? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have plotted the standard deviation of different regions.Can anyone help me to get the conclusions from this boxplot. I just want to conclude the properties of regions. In this figure, eigth object is odd one. What is the significance of whiskers?
How to change the xlabel as region1 ,region2 etc
Coclusions: wide part of your data does not follow a normal distribution. You need something like Violin Plots to see what is rally happening in your data.
Specially for 3-7, as it seems that the number of the outliers is too big.
But remember: Conclusions are obtained from data, not from the plotting option you chose for your data!
about changing the xlabel.... have you tried the function xlabel....?

Bicubic Interpolation [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
My assignment question is :
"In Lecture 9 Slide No.21 There are Affine Transform based equations. Take an input gray-scale image and apply these transformations one by one. The interpolation used must be bi-cubic."
Now the equations are:
I am not understanding what exactly is meant by this question? I mean should i just apply transformation on an image or what? I am confused
I'm sure your TA could answer here...
Anyway, you have to apply the transformations to a set of coordinates (probably two coordinates per pixel if you want to transform images). Since you will get real values instead of integers (as the pixel grid requires), you have to apply bicubic interpolation to obtain the final values on the destination pixel grid.