Sam
Followers: 0 Following: 0
:)
Statistics
0 Problems
86 Solutions
RANK
N/A
of 290.019
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 19.621
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Energy of a photon
*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...
ongeveer 3 jaar ago
Solved
Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...
ongeveer 3 jaar ago
Solved
Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.
ongeveer 3 jaar 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...
ongeveer 3 jaar ago
Solved
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
ongeveer 3 jaar ago
Solved
Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...
ongeveer 3 jaar ago
Solved
Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
ongeveer 3 jaar ago
Solved
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....
ongeveer 3 jaar ago
Solved
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
ongeveer 3 jaar ago
Solved
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...
ongeveer 3 jaar ago
Solved
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...
ongeveer 3 jaar ago
Solved
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
ongeveer 3 jaar ago
Solved
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
ongeveer 3 jaar ago
Solved
find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y
ongeveer 3 jaar ago
Solved
Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
ongeveer 3 jaar ago
Solved
Square a Number
Given an input x, return y, which is equal to the square of x.
ongeveer 3 jaar ago
Solved
metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...
ongeveer 3 jaar ago
Solved
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
ongeveer 3 jaar ago
Solved
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
ongeveer 3 jaar ago
Solved
Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...
ongeveer 3 jaar ago
Solved
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
ongeveer 3 jaar ago
Solved
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
ongeveer 3 jaar ago
Solved
Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...
ongeveer 3 jaar ago
Solved
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
ongeveer 3 jaar ago
Solved
Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.
ongeveer 3 jaar ago
Solved
Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.
ongeveer 3 jaar ago
Solved
Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle
ongeveer 3 jaar ago