Community Profile

photo

Dan Villa


8 total contributions since 2019

Dan Villa's Badges

  • Solver

View details...

Contributions in
View by

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

10 months ago

Solved


ASCii Code
Using Matlab get the ASCii for '?'

10 months ago

Solved


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

10 months ago

Solved


give nth decimal place of pi
max 15th place after the decimal point is ok for now

10 months ago

Solved


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

10 months ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

10 months ago

Solved


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

10 months ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

10 months ago