Community Profile

# Jason Friedman

### Tel Aviv University

Last seen: Today Con actividad desde 2013

Senior lecturer at Tel Aviv University in Physiotherapy. Daily matlab user!

All

Ver insignias

#### Content Feed

Ver por

Resuelto

Jack O'Lantern
If visualized correctly, the data contained in the matrix A will look like a jack-o'-lantern. Create a function that will visu...

alrededor de 1 mes hace

Resuelto

Reproduce this plot!
Write a function that will take a dataset (x,y), a best fit model (model), and the upper and lower prediction bounds (lb,ub) for...

alrededor de 1 mes hace

Resuelto

Make a Plot with Functions
Make a plot and test

alrededor de 1 mes hace

Resuelto

Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

alrededor de 1 mes hace

Resuelto

Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

alrededor de 1 mes hace

Resuelto

The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...

alrededor de 1 mes hace

Resuelto

Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

alrededor de 1 mes hace

Resuelto

Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

alrededor de 1 mes hace

Resuelto

Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

alrededor de 1 mes hace

Resuelto

Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

alrededor de 1 mes hace

Resuelto

Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

alrededor de 1 mes hace

Resuelto

Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

alrededor de 1 mes hace

Resuelto

Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

alrededor de 1 mes hace

Resuelto

Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

alrededor de 1 mes hace

Resuelto

Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

alrededor de 2 meses hace

Resuelto

Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...

alrededor de 2 meses hace

Resuelto

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

alrededor de 2 meses hace

Resuelto

Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

alrededor de 2 meses hace

Resuelto

Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

alrededor de 2 meses hace

Resuelto

Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

alrededor de 2 meses hace

Resuelto

Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

alrededor de 2 meses hace

Resuelto

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

alrededor de 2 meses hace

Resuelto

Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

alrededor de 2 meses hace

Resuelto

MATLAB Basic: rounding IV

alrededor de 2 meses hace

Resuelto

MATLAB Basic: rounding III

alrededor de 2 meses hace

Resuelto

MATLAB Basic: rounding II

alrededor de 2 meses hace

Resuelto

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

alrededor de 2 meses hace

Resuelto

Is this a valid Tic Tac Toe State?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

alrededor de 2 meses hace

Resuelto

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 2 meses hace

Resuelto

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

alrededor de 2 meses hace