답변 있음
Calculate mean of matrix for specific interval
Hi Pelle, you need to index your variable DEM correctly: DEM_mean2 = mean(DEM(11:110,:)); Best, Konrad

4년 초과 전 | 1

| 수락됨

답변 있음
Animation video from data points, giving error below
Hi Muhammad, it seems that the video you are trying to create is too large to fit into memory. You can either run the code on ...

4년 초과 전 | 1

| 수락됨

답변 있음
could someone please tell me why my code returns complex answers while it is about room temperature ?
Hi, One quick guess: in your equation (eqn(number_of_nodes) = ...) you are raising to the power of .24, which means you are ta...

4년 초과 전 | 0

답변 있음
Help reorganizing data in a table
Hi Andrew, I think unstack() is what you're looking for: T=readtable('example_sheet.xlsx'); uT = unstack(T,{'Duration' 'Ratin...

4년 초과 전 | 0

답변 있음
Is it possible to extract 2 separated sections from the same table?
Hi Ruth, you can create indices into rawdata for your subjects and pilots programmatically like this: filename='RES_IAS (1).xl...

4년 초과 전 | 0

| 수락됨

답변 있음
3D bar graph of Z with data in X Y Z array
Hi, provided that x and y are always positive integers, this may be a good start: tab = readtable('XYZ_Data.txt'); zarray = z...

4년 초과 전 | 1

답변 있음
How do I plot points coming from a for loop without using vectors?
Hi, values on the x-axis are not equally spaced because on every interation you increase L by i, which itself is increased by 1...

4년 초과 전 | 0

| 수락됨

답변 있음
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...

4년 초과 전 | 0

제출됨


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

7년 초과 전 | 다운로드 수: 2 |

0.0 / 5

답변 있음
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}; ...

7년 초과 전 | 0

문제를 풀었습니다


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

7년 초과 전

문제를 풀었습니다


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

7년 초과 전

제출됨


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

7년 초과 전 | 다운로드 수: 1 |

0.0 / 5
Thumbnail

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


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

대략 8년 전