Respondida
How to stackplot a table?
Hi Oliver, does this code produce the plot you need? load('example.mat', 'table') figure; nvar = size(table,2)-3; t = [tabl...

más de 2 años hace | 0

Enviada


uniqueCells
Implementation of unique for ND cell arrays of mixed type. Avoids num2str and provides switches for unique rows and to treat NaN...

más de 5 años hace | 2 descargas |

Respondida
How to read files from sub folders in sorted order?
Hi, one solution would be to convert the time suffix to numeric and sort the numbers: d = dir('Time*'); n = {d.name}; ...

más de 5 años hace | 0

Resuelto


5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...

más de 5 años hace

Resuelto


"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...

más de 5 años hace

Enviada


RNG-Indices-of-Randomness
Implementation of various indices of randomness as measures of RandomNumberGeneration performance; a task assessing executive fu...

más de 5 años hace | 1 descarga |

Thumbnail

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 6 años hace

Resuelto


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

más de 6 años hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

más de 6 años hace

Resuelto


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

más de 6 años hace

Resuelto


Number of Even Elements in Fibonacci Sequence
Find how many even fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

más de 6 años hace

Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

más de 6 años hace