photo

James Blackwell


Actif depuis 2016

Followers: 0   Following: 0

Message

Medical Physics Student

Statistiques

All
MATLAB Answers

3 Questions
1 Réponse

Cody

0 Problèmes
15 Solutions

RANG
231 816
of 300 857

RÉPUTATION
0

CONTRIBUTIONS
3 Questions
1 Réponse

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
0

RANG
 of 21 097

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
32 708
of 171 361

CONTRIBUTIONS
0 Problèmes
15 Solutions

SCORE
150

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

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

Afficher les badges

Feeds

Afficher par

Réponse apportée
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 ...

presque 8 ans il y a | 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...

presque 8 ans il y a | 1 réponse | 0

1

réponse

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

plus de 9 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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.

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

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

plus de 9 ans il y a | 1 réponse | 0

1

réponse