photo

James Blackwell


Active since 2016

Followers: 0   Following: 0

Message

Medical Physics Student

Statistics

All
MATLAB Answers

3 Questions
1 Answer

Cody

0 Problems
15 Solutions

RANK
284,504
of 301,653

REPUTATION
0

CONTRIBUTIONS
3 Questions
1 Answer

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,377

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
33,679
of 175,992

CONTRIBUTIONS
0 Problems
15 Solutions

SCORE
150

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2
  • First Answer
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Answered
Basic question regarding adding A to all numbers greater than B
You could have an if function and go through the array element by element. If the number is greater than 5 you could add 2 to ...

8 years ago | 0

Question


Convert DICOM video (4D) to 3D matrix
I have a DICOM ultrasound video, when I save it as a .mat file I find that it is a unit8 file with a 4D matrix. I thought the ou...

8 years ago | 1 answer | 0

1

answer

Question


Prime number list checker
Ok so just for fun and practice I have been having a go at creating a prime number checker. I have been successful in making it ...

9 years ago | 1 answer | 0

1

answer

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. <<http://upload....

10 years ago

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

10 years ago

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

10 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

10 years ago

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

10 years ago

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

10 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...

10 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...

10 years ago

Solved


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

10 years ago

Solved


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

10 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

10 years 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 ...

10 years 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...

10 years 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 years ago

Question


Trying to combine For and If loop
I watched a video on the 3n + 1 conjecture and just wanted to try and see if I could create a simple program to replicate a few ...

10 years ago | 1 answer | 0

1

answer