Community Profile

# Duncan Tulimieri

Last seen: ungefär en månad ago Active since 2020

All

#### Content Feed

View by

Submitted

labelSubPlots

Submitted

movingInset
Easily move an axis inset around a figure.

Submitted

CLES
Common language effect size.

Submitted

permutation_test
Non-parametric permutation test to compare groups.

Submitted

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

Submitted

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

Submitted

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

Submitted

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

Submitted

darkBackground
Manipulate matlab figure and axis background.

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

mer än ett år ago

Solved

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

ungefär 2 år ago

Solved

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

ungefär 2 år ago

Solved

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

ungefär 2 år ago

Solved

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

ungefär 2 år ago

Solved

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

ungefär 2 år ago

Solved

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

ungefär 2 år ago