Community Profile

photo

Rhys


Loyola Marymount University, Jefferson Lab

Actif depuis 2012

Followers: 0   Following: 0

Contact

Professional Interests: Physics, Particle Physics, Space Physics, Accelerator Physics, Plasma Physics

Statistiques

All
  • First Review
  • Thankful Level 1
  • First Answer
  • Commenter
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

Question


creating a custom exponential fit
%%%%% RESOLVED %%%%% Hi Everyone, I am working on creating a GUI for my lab to easily create graphics from raw data files....

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

0

réponse

A répondu
how to use function handle
Hi! to define your function you can use the inline() command and then to plot you can use the fplot() command. Your code may ...

presque 11 ans il y a | 0

Question


problem with errorbars and export_fig
Hi everybody, I have come across a strange problem while using export_fig(). It does not seem to export errorbars x=1:10;...

presque 11 ans il y a | 2 réponses | 0

2

réponses

Question


Saving a Figure from inside a GUI
Hi all! I have been designing a few GUIs to make some data analysis easier. At the end process however I want to be able to ...

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

1

réponse

Question


Changing Axis in a GUI and Saving a figure in a GUI
Hi everyone I am having a bit of a problem with a GUI I am writing. The GUI plots a selected set of data from a list and has fou...

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

1

réponse

A résolu


surface of a spherical planet
you just discovered its circumference, that is the input.

environ 11 ans il y a

A résolu


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

environ 11 ans il y a

A résolu


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

environ 11 ans il y a

A résolu


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

environ 11 ans il y a

A résolu


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

environ 11 ans il y a

A résolu


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

environ 11 ans il y a

A résolu


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

environ 11 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

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

environ 11 ans il y a

A résolu


radius of a spherical planet
you just measured its surface area, that is the input.

presque 12 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

presque 12 ans il y a

A résolu


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

presque 12 ans il y a

A résolu


inner product of two vectors
inner product of two vectors

presque 12 ans il y a

Question


MatLab datenum truncated in matrix
I am writing a code for a research project in space physics and at the very end I output a matrix with time, and the magnetic fi...

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

1

réponse

A résolu


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

presque 12 ans il y a

A résolu


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

presque 12 ans il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

presque 12 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

presque 12 ans il y a

A résolu


Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable

environ 12 ans il y a

A résolu


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

environ 12 ans il y a

A résolu


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

environ 12 ans il y a

A résolu


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

environ 12 ans il y a

A résolu


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

environ 12 ans il y a

A résolu


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

environ 12 ans il y a

A résolu


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

environ 12 ans il y a

Charger plus