Community Profile

millercommamatt

North Carolina State University

Attivo dal 2013

Atmospheric Research Scientist

All

Content Feed

Visto da

Risposto
Colorbar with histogram next to it
You can do this in Matlab. However, there's nothing like this built in, so you're going to have the handle all the placements of...

3 giorni fa | 0

| accettato

Risposto
Timestamp - x axis
It's because you're turned your datetime type variable into a datenum and plotted that. Datenums are the number of days since Ja...

3 giorni fa | 0

Risposto
Why does my .csv file create spaces between each of my data points? It makes it to where I cannot graph precipitation against the date.
You're defining the columns as strings so the output is going to include whitespace. You want something like: ... data = ...

3 giorni fa | 0

Risposto
Plotting surface returns error
Your first two inputs need to be reversed. That is, the order in which they are provided to the function need to be switched.

3 giorni fa | 0

| accettato

Risposto
Date/Time Processing and Formatting Issues
dt = datetime(x,'InputFormat', 'yyyy:DDD:HH:MM:ss.SSSSSSSSS');

circa 2 mesi fa | 0

Risposto
My code is only returning the last output
vec = mat(i,end); In this line you're always using the last column by specifying end. I think you want: vec = mat(i,:); If I'...

circa 2 mesi fa | 0

Risposto
I think imclose will do what you want. https://www.mathworks.com/help/images/ref/imclose.html

circa 2 mesi fa | 0

Risolto

SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

2 mesi fa

Risolto

Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

2 mesi fa

Risolto

Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

2 mesi fa

Risolto

Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

2 mesi fa

Risolto

Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

2 mesi fa

Risolto

Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

2 mesi fa

Risolto

Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

2 mesi fa

Risolto

Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

2 mesi fa

Risolto

Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

2 mesi fa

Risposto
file parsing identifier need to choose the correct identifier
st = '04_T_A_tx01_3009.txt'; id_cell = regexp(st,'tx\d+','match'); id_char = id_cell{1};

2 mesi fa | 0

Risolto

Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

3 mesi fa

Risolto

Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

3 mesi fa

Risolto

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

3 mesi fa

Risolto

Draw a '0' in a one matrix!

3 mesi fa

Risolto

Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

3 mesi fa

Risolto

Converts numbers into characters
Converts numbers into characters

3 mesi fa

Risolto

Find the max element of the array
Find the max element of the array

3 mesi fa

Risolto

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

3 mesi fa

Risolto

the average value of the elements
Calculate the average value of the elements in the array

3 mesi fa

Risolto

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

3 mesi fa

Risolto

calculate the length of matrix
input 1 array, calculate the length

3 mesi fa

Risolto

to the 2 all elements
to the 2 all elements

3 mesi fa

Risolto

Double all elements in the array
Duplicate all elements in the array

3 mesi fa