Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

1 year ago

Discussion


Christmas Tree for Matlaber : Rotating With Falling Snowflakes
Christmas is coming, here are two dynamic Christmas tree drawing codes: Crystal XMas Tree function XmasTree2024_1 fig = f...

1 year ago | 11

Discussion


How to set the AlphaData of a colorbar?
Many times when ploting, we not only need to set the color of the plot, but also its transparency, Then how we set the alp...

2 years ago | 7

Submitted


MATLAB-PLOT-CHEAT-SHEET
Latest version of MATLAB-PLOT-CHEAT-SHEET

2 years ago | 22 downloads |

5.0 / 5
Thumbnail

Discussion


Latest version of MATLAB-PLOT-CHEAT-SHEET
This cheat sheet is here: https://www.mathworks.com/matlabcentral/fileexchange/165846-matlab-plot-cheat-sheet reference: ht...

2 years ago | 13

Discussion


These Pretty Chord Diagrams Were All Made By MATLAB???
The beautiful and elegant chord diagrams were all created using MATLAB? Indeed, they were all generated using the ...

2 years ago | 11

Discussion


Happy Pi Day !!
Happy Pi Day! 3.14 π Day has arrived, and this post provides some very cool pi implementations and complete MATLAB code. ...

2 years ago | 13

Discussion


Help Document of Chord Chart
Chord diagrams are very common in Python and R, but there are no related functions in MATLAB before. It is not easy to draw ch...

2 years ago | 10

Discussion


How To Draw a Crystal Heart In MATLAB
The creativity comes from the copper sulfate crystal heart made in junior high school. Copper sulfate is a triclinic crystal, ...

2 years ago | 6

Discussion


How To Draw A Rose Ball In MATLAB
So, how to draw a roseball just like this ? To begin with, we need to know how to draw a single rose in MATLAB: function d...

2 years ago | 6

Discussion


awesome sankey plot
It is easy to obtain sankey plot like that using my tool: https://www.mathworks.com/matlabcentral/fileexcha...

2 years ago | 10

Discussion


rose bouquet for MATLABer
code is here https://www.mathworks.com/matlabcentral/fileexchange/154496-rose-bouquet You can also see the animate...

2 years ago | 10

Discussion


Use MATLAB to draw a dragon!!
function dragon24 % Copyright (c) 2024, Zhaoxu Liu / slandarer baseV=[ -.016,.822; -.074,.809; -.114,.781; -.147,.738;...

2 years ago | 12

Discussion


Solve Syms Equations With Piecewise
There will be a warning when we try to solve equations with piecewise: syms x y a = x+y; b = 1.*(x > 0) + 2.*(x <= 0); eqns...

2 years ago | 5

Discussion


awesome heatmap
It is pretty easy to draw a cool heatmap for I have uploaded a tool to fileexchange: https://www.mathworks.com/matlabcentral/fi...

2 years ago | 8

Discussion


colorful axes and colorful legend
t=0.2:0.01:3*pi; hold on plot(t,cos(t)./(1+t),'LineWidth',4) plot(t,sin(t)./(1+t),'LineWidth',4) plot(t,cos(t+pi/2)./(1+t+...

2 years ago | 7

Discussion


It is pretty easy to draw chord chart by MATLAB!!
I have written two tools and uploaded fileexchange, which allows us to easily draw chord diagrams: chord chart 弦图 downlo...

2 years ago | 7

Discussion


How to customize legends?Semitransparent rounded rectangle legend??
How to create a legend as follows? Principle Explanation - Graphic Objects Hidden Properties of Legend are laid as fol...

2 years ago | 12

Submitted


taylor diagram class
taylor diagram class

2 years ago | 15 downloads |

5.0 / 5
Thumbnail

Submitted


ternary
ternary plot for MATLAB support plot fill scatter contour contourf text

3 years ago | 6 downloads |

0.0 / 5
Thumbnail

Solved


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

3 years ago

Solved


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

3 years ago

Solved


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more here) asserted that readers are relatively insensitive to letter order in words, so long a...

3 years ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end),...

3 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

3 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

3 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

3 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

3 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

3 years ago

Load more