Answered
How to begin axis from another value and make it a 0 point in plot matlab?
If you want the ticks on your plot to show something other than the real numbers, you can either (a) change the numbers, or (b) ...

7 years ago | 2

| accepted

Answered
Greetings. I want to ask on how to calculate radius of circle in matlab
Maybe one of these links will give you some ideas about how to get started: * <https://www.mathworks.com/help/images/examples...

8 years ago | 0

| accepted

Answered
How to increment and/or decrement with different values in the same loop
Here is a version that is certainly shorter, and produces the same result, but I doubt it is any more efficient. The benefit I s...

8 years ago | 0

| accepted

Answered
How can I load two data files using a function
This may help you get started: <https://www.mathworks.com/help/matlab/import_export/ways-to-import-spreadsheets.html Ways to Imp...

8 years ago | 0

Answered
Import MANY Excel sheets that have sequential naming with a loop
All the commands in MATLAB that read Excel spreadsheets can accept a string naming the file. For example, |<https://www.mathwork...

8 years ago | 0

| accepted

Answered
How to run a default method if a class method is undefined?
I don't believe there is any way to do this when using the syntax you describe. However, if you use the dot notation, then you c...

8 years ago | 2

Answered
Right Y-Label for Heatmap
There is no way to do this built-in to |heatmap|. The only way I can think to do this is to add a second axes with the desired t...

8 years ago | 0

Answered
Display values on heatmap plot - they disappear as the plot shrinks
The font size of the cell labels on the heatmap automatically scale so that they don't overrun the individual cells (and so the ...

8 years ago | 1

| accepted

Answered
how to build a gui that upload excel file and then calculate trendline acording to dates that the user wants
Have you searched through the doc pages? Here are a few links to help you get started: # <https://www.mathworks.com/products/...

8 years ago | 0

Answered
How do I make a color bar of a loglog plot represent various exponents of plotted curves?
I'm not 100% sure I understood your question. If I understood correctly, you still want 7 lines, with 7 different colors (so the...

8 years ago | 0

| accepted

Answered
How to make a MATLAB Server for the mobile app, so that MATLAB is still active after logging out from SSH session?
Have you tried |<https://www.gnu.org/software/screen/manual/screen.html screen>|? You can also try adding a |<https://www.mat...

8 years ago | 0

Answered
I want to create a categorical column (classes) of a data-table to numeric assignable values
You didn't include the code you used to get from the raw text file to a MATLAB array called |rowdata|, so it is hard to know wha...

8 years ago | 0

Answered
How do I find all entries in an object array with a certain property
There are a variety of ways you can do this. The most straightforward is to use |<https://www.mathworks.com/help/matlab/ref/arra...

8 years ago | 0

Answered
How to invert .p file to .m file
By design, there is no way to convert a P-coded file (a file with the .p extension) into a regular MATLAB file (a file with the ...

8 years ago | 4

Answered
Is it possible to plot x and y coordinates from an excel file onto an image in Matlab and then save the image?
First you need to import the data into MATLAB. I personally recommend |<https://www.mathworks.com/help/matlab/ref/readtable.html...

8 years ago | 0

Answered
addlistener Behavior/Syntax
There is no way to merge the two events into one event. Even when you call |set|, the properties are still set one at a time, in...

8 years ago | 0

| accepted

Answered
How can I plot a graph for big data (csv file) in matlab?
1 million data points shouldn't be too hard for MATLAB to handle. Have you tried just |<https://www.mathworks.com/help/matlab/re...

8 years ago | 1

| accepted

Answered
Installed add-on stops working after restarting MATLAB
I believe when you install a support package, MATLAB attempts to add the necessary directories to your path. However, if your |p...

8 years ago | 0

Answered
My Plot function works but the graphics window that pops up is blank.
When you call the |hist| command and ask for output, it does not plot anything. Age=rand([20,1])*20+20; hist(Age, [22.5:...

8 years ago | 0

Answered
Depth Label of 3D Graph (Cylinder)
I would recommend ignoring the |Z| output from |cylinder| and just creating your own using |meshgrid| or |ndgrid|. r = [5,7...

8 years ago | 2

Answered
Add filename to data point label in a figure
In order to get your datatips to show any information about the filename, you first need some way to determine which file a poin...

8 years ago | 0

| accepted

Answered
Temperature Profile Plot on Cylinder
Do you want the data [1x18] to be around the circumference of the cylinder, or along the height of the cylinder? In either ca...

8 years ago | 0

| accepted

Answered
How to force a number to be displayed as a string?
Are the numbers stored as numbers or character vectors in MATLAB? class(A{i,9}) % double or char? If the answer is |doub...

8 years ago | 0

| accepted

Answered
How to change edge color of figure window?
There is no setting to control this.

8 years ago | 0

Answered
Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
When |fopen| fails, it does not generate an error message. Instead, it sets the |fileID| to |-1|. Check the value of |fileID|...

8 years ago | 6

| accepted

Answered
Good multiple panel in 1 figure
Unfortunately, |subplot| won't work well for that kind of layout. Your best bet is to manually set the |Position| property of th...

8 years ago | 0

Answered
if else statement for elemental comparison
You need to calculate both answers, then recombine the matrix using logical indexing. Something like this: ab = (a-b)./(a+(...

8 years ago | 0

Answered
How do I make a 3d plot of black body radiation
Assuming I typed it correctly, here is the code you provided: C1(1:100) = 3.742*10^8; C2(1:100) = 1.439*10^4; Lambda ...

8 years ago | 0

| accepted

Answered
How do I draw a colour bar with known discrete RGB values and known percentage of pixels represent each RGB values?
You can use a |<https://www.mathworks.com/help/matlab/ref/patch.html patch>| object for this. values = [0.5 0.3 0.2]; co...

8 years ago | 0

Load more