Community Profile

photo

Thomas Lu


14 total contributions since 2019

Thomas Lu's Badges

  • Solver
  • Thankful Level 1

View details...

Contributions in
View by

Question


How can I generate a set containing all possible combinations?
Let say I want to have a 2x2 matrix and the entries are chosen from numbers 1-8 (without repetition). How can I generate a set ...

6 Monate ago | 2 answers | 0

2

answers

Question


How to generate a matrix with distinct integers entries?
How to generate a matrix with distinct integers entries, with user prompt in the number of row, columns, and the max number (int...

6 Monate ago | 0 answers | 0

0

answers

Question


How can I go back to the beginning of my program first line by a command?
I would like to go back to the first line of my program after a yes no prompt input and go back to the beginning with the answer...

6 Monate ago | 1 answer | 0

1

answer

Solved


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

6 Monate ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

6 Monate ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

6 Monate ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 Monate ago

Solved


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

6 Monate ago

Solved


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

6 Monate ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

6 Monate ago

Question


Switch to write programs
Use switch to write a program to prompt the user to enter an integer between 1 to 10 then display the English word corresponding...

7 Monate ago | 2 answers | 0

2

answers

Question


Matrix Operations using MATLAB
Let A = magic(6) How to Find eigenvectors of A corresponding to the eigenvalue of A with the largest absolute value? and how t...

7 Monate ago | 1 answer | 0

1

answer

Question


How to surfplot from xyz coordinates?
Use surf to plot the following points: (1, 1, 1), (2, 1, 2), (3, 1, 3) (1.1, 2, 4), (2.2, 2, 5), (3.3, 2, 4) (1.2,3,3), (2.4,...

8 Monate ago | 1 answer | 0

1

answer

Question


How can I make an array of sin(1), sin(2), ... , sin(100)?
How can I make an array of sin(1), sin(2), ... , sin(100)?

9 Monate ago | 2 answers | 0

2

answers