Community Profile

# Duncan Tulimieri

Last seen: 3 giorni fa Attivo dal 2020

All

#### Content Feed

Visto da

Inviato

labelSubPlots

Inviato

movingInset
Easily move an axis inset around a figure.

Inviato

CLES
Common language effect size.

Inviato

permutation_test
Non-parametric permutation test to compare groups.

Inviato

savingfigures
Functions to save figures and gifs in an organized and easy manner.

Inviato

Scientifically saving figures.
Saving figures and gifs in an organized manner.

Inviato

plotMultipleHists-matlab
Plot multiple histograms on same figure with aligned edges.

Inviato

individualPlots2SubPlots-matlab
Replot individual figures as sub axes on one figure with many subplots.

Inviato

darkBackground
Manipulate matlab figure and axis background.

Risolto

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

oltre un anno fa

Risolto

Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

oltre un anno fa

Risolto

Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

oltre un anno fa

Risolto

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

oltre un anno fa

Risolto

Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

oltre un anno fa

Risolto

Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

oltre un anno fa

Risolto

Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

oltre un anno fa

Risolto

Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

oltre un anno fa

Risolto

Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

oltre un anno fa

Risolto

Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

oltre un anno fa

Risolto

Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

oltre un anno fa

Risolto

Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

oltre un anno fa

Risolto

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

oltre un anno fa

Risolto

Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

oltre un anno fa

Risolto

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

oltre un anno fa

Risolto

Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

circa 2 anni fa

Risolto

Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

circa 2 anni fa

Risolto

Multiplication
Multiply two numbers in a different manner. The numbers are given to you as vectors x and y. Example x = [ 1 2 0 1 ] ...

circa 2 anni fa

Risolto

Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

circa 2 anni fa

Risolto

Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

circa 2 anni fa

Risolto

Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

circa 2 anni fa