Submitted

Euler's Number

This function gives the numerical value of Euler's number accurate to 10,000 significant digits.

2 months ago | 5 downloads |

Question

Add a Title for Each Group of Subplots in a Figure Window

Suppose I have 2 rows and 4 columns of subplots in a figure window. How can I add a title for the first row and another title...

2 months ago | 1 answer | 0

Question

How to Enclose a Figure Title in a Box?

I'm interested to learn how to place a figure title in a box using title and sgtitle commands.

2 months ago | 1 answer | 0

Question

Delete StyleSheet from Print Preview Window

I saved a new StyleSheet named new after I changed certain parameters in the Print Preview Window. How can I delete this new Sty...

2 months ago | 0 answers | 0

Question

How to Use arrayfun with a Multivariate Function of n Variables?

Suppose f(X) is a function of a vector X = [x1, x2, ..., xn]. How to evaluate the function at a certain range of values, say y1,...

9 months ago | 2 answers | 0

Question

How to Code This Using filter?

I don't know how to use filter and unfortunately the Help Documentation of filter is not useful enough for me. I'd like to use f...

9 months ago | 1 answer | 0

Question

Why This Vectorization of my Code Does Not Work?

Consider the following two codes: n = 4; % Code 1: c1 = zeros(floor(n/2)+1,n+1); c1(1,1) = 1; c1(1,2:n+1) = 2.^(0:n-1); for ...

9 months ago | 1 answer | 0

Question

When Should a User Use timeit, cputime, or tic toc?

I typically try to compare execution times between various algorithms in my research, so learning about this matter could be ver...

10 months ago | 1 answer | 0

Answered

Why Euler's number e = 2.71828... is not a built-in constant in MATLAB?

Great feedback @Rik. Could you tell us more about JIT compiler or perhaps pointing out to a simple reference to learn about it q...

Why Euler's number e = 2.71828... is not a built-in constant in MATLAB?

Great feedback @Rik. Could you tell us more about JIT compiler or perhaps pointing out to a simple reference to learn about it q...

10 months ago | 0

Question

What is the Order of Function Precedence in MATLAB 2019b or 2020a?

If I put a .m file in the current directory or in MATLAB search path, and then call it from the MATLAB Command Window, would MAT...

10 months ago | 1 answer | 0

Question

Why Euler's number e = 2.71828... is not a built-in constant in MATLAB?

I understand that we can produce that number in MATLAB by evaluating exp(1), or possibly using exp(sym(1)) for the exact represe...

10 months ago | 2 answers | 0

Question

What are the main differences between Add-On Explorer and File Exchange?

It seems they are identical and they share seemingly everything!

10 months ago | 1 answer | 0