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
74 988
of 300 343

REPUTATION
0

CONTRIBUTIONS
3 Questions
1 Answer

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 20 926

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
31 796
of 168 172

CONTRIBUTIONS
0 Problems
15 Solutions

SCORE
150

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

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

mer än 7 år 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...

mer än 7 år 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 ...

ungefär 9 år 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....

ungefär 9 år 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...

ungefär 9 år ago

Solved


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

ungefär 9 år 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.

ungefär 9 år 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...

ungefär 9 år 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".

ungefär 9 år 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...

ungefär 9 år 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...

ungefär 9 år 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...

ungefär 9 år ago

Solved


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

ungefär 9 år ago

Solved


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

ungefär 9 år ago

Solved


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

ungefär 9 år 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 ...

ungefär 9 år 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...

ungefär 9 år 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:...

ungefär 9 år 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 ...

ungefär 9 år ago | 1 answer | 0

1

answer