photo

millercommamatt


North Carolina State University

Actif depuis 2013

Followers: 0   Following: 0

Message

Atmospheric Research Scientist

Statistiques

All
  • MATLAB Central Treasure Hunt Finisher
  • Knowledgeable Level 3
  • 3 Month Streak
  • Draw Letters
  • Project Euler I
  • First Review
  • First Submission
  • Knowledgeable Level 2
  • Thankful Level 1
  • First Answer
  • Introduction to MATLAB Master
  • Community Group Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Color that shows by the imshow, doesn't match to the color that I expect.
This displays as expected for me. imshow(uint8(cat(3,... [0 128 0;0 255 255;255 255 255;0 0 0],... [0 0 0;255 255 128...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
ERROR // Array indices must be positive integers or local values
It's because you can round to zero which is invalid as an index. Use ceil instead.

presque 2 ans il y a | 0

Réponse apportée
Display Volume in App Designer
The parent for volshow has to be a Viewer3D object. The parent of a Viewer3D object can be a Figure object (default) | Panel obj...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
I want to open a tab-delimited XY text file in matlab, use the numerical values of the XY columns to create a matrix and plot the signal.
fid = fopen("AxographSampleData\220812_WT_MO_H134R_EA_1391 015.txt","r"); C = textscan(fid,'%f %f',"Delimiter",'\t','HeaderLine...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
How to remove/add elements to an array?
% B = diff(A) = [768 12 757 767 12 756 ...1524.....768 13 754 271] % note that B will be one less in length than A % if B(n...

presque 2 ans il y a | 0

Réponse apportée
How to annotate borders with different colors?
This example from the Documentation includes a way to do this. https://www.mathworks.com/help/images/correcting-nonuniform-illu...

presque 2 ans il y a | 0

Réponse apportée
Different Size of array after each loop interation
If you want the data from each file to be on their own row, you'll need to use something like a cell array or a structure since ...

presque 2 ans il y a | 0

Question


Map Axes and Colorbars - Colorbar Overlapping Labels
When creating a colorbar to go with a map axes based plot, the colorbar overlaps the labels. What's the optimal solution for p...

presque 2 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Counting number of white > 5 Pixel objects in BW image
You should be able to to something like this. I'm waiting on a slow scatter interpolation on my client to finish so I haven't te...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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 = ...

presque 2 ans il y a | 0

Réponse apportée
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.

presque 2 ans il y a | 0

| A accepté

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

environ 2 ans il y a | 0

Réponse apportée
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'...

environ 2 ans il y a | 0

Réponse apportée
Mask image in Matlab
I think imclose will do what you want. https://www.mathworks.com/help/images/ref/imclose.html

environ 2 ans il y a | 0

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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]

environ 2 ans il y a

Réponse apportée
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};

environ 2 ans il y a | 0

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Draw a '0' in a one matrix!

environ 2 ans il y a

Charger plus