# J. Alex Lee

**Statistics**

RANK**169**

of 265,487

REPUTATION**605**

CONTRIBUTIONS

**8** Questions

**247** Answers

ANSWER ACCEPTANCE **
75.0%
**

VOTES RECEIVED**79**

RANK

of 18,136

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

9 hours ago

Solved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

9 hours ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

9 hours ago

Solved

Triangle sequence

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

9 hours ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

9 hours ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

9 hours ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

9 hours ago

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<https://imgur.com/x6hT6mm.png>> ...

10 hours ago

Undefined function 'isnan' for input arguments of type 'Nodes2'

For reference, a related question that shows more of the actual classes in question: https://www.mathworks.com/matlabcentral/ans...

1 day ago | 1

appdesigner, choosing from dropdown different functions

I suspect your problem is that your conditional is flawed. To test, put in an "else" to check if your conditional is not being m...

1 day ago | 0

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

4 days ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

4 days ago

Shift a curve in logarithmic scale

shifting in log scale is actually a multiplication, not an addition - is that what you need?

4 days ago | 0

| accepted

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

5 days ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

5 days ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

5 days ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

5 days ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

5 days 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...

5 days ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 days ago

How to trasform from cell to matrix and transpose from horizontal to vertical at the same time?

Just change your cat dimension to 1, then transpose later. Data.my_cell = {rand(1,101);rand(1,101);rand(1,101)} m = cat(1,Data...

9 days ago | 1

Can I change my UIFigure size while maintaining location of elements in figure?

I think you may be able to achieve what you want using the uigridlayout, see if this example works on 2019b (I'm on 2022a). The...

20 days ago | 0

| accepted

Heatmap is too Thin in Figure

imshow() asserts 1:1 aspect ratio to show the image, so you can manually change the axes Position property after setting DataAsp...

21 days ago | 0

Implementing Crank Nicholson in spherical setting

I believe this should be the right formulation for CN (taking a few liberties interpreting your problem). If you want speed, pr...

6 months ago | 1

Implementing Crank Nicholson in spherical setting

For one thing, your boundary conditions (as developed on your pdf) don't look right. At r=0, you can just directly use Eq 8 LHS...

6 months ago | 0

Question

Built in look-up style interpolation of timetables for non-numeric data?

Is there no built-in function similar to interp1 for numeric data, that can operate on timetables with arbitrary data types? So...

7 months ago | 1 answer | 0