millercommamatt
North Carolina State University
2013 年からアクティブ
Followers: 0 Following: 0
Atmospheric Research Scientist
統計
All
Feeds
回答済み
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...
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...
2年弱 前 | 1
| 採用済み
回答済み
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.
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.
2年弱 前 | 0
回答済み
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...
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...
2年弱 前 | 0
| 採用済み
回答済み
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...
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...
2年弱 前 | 1
| 採用済み
回答済み
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...
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...
2年弱 前 | 0
回答済み
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...
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...
2年弱 前 | 0
回答済み
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 ...
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 ...
2年弱 前 | 0
質問
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...
2年弱 前 | 1 件の回答 | 1
1
回答回答済み
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...
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...
2年弱 前 | 0
回答済み
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...
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...
2年弱 前 | 0
| 採用済み
回答済み
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...
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...
2年弱 前 | 0
回答済み
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 = ...
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 = ...
2年弱 前 | 0
回答済み
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.
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.
2年弱 前 | 0
| 採用済み
回答済み
Date/Time Processing and Formatting Issues
dt = datetime(x,'InputFormat', 'yyyy:DDD:HH:MM:ss.SSSSSSSSS');
Date/Time Processing and Formatting Issues
dt = datetime(x,'InputFormat', 'yyyy:DDD:HH:MM:ss.SSSSSSSSS');
約2年 前 | 0
回答済み
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'...
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'...
約2年 前 | 0
回答済み
Mask image in Matlab
I think imclose will do what you want. https://www.mathworks.com/help/images/ref/imclose.html
Mask image in Matlab
I think imclose will do what you want. https://www.mathworks.com/help/images/ref/imclose.html
約2年 前 | 0
回答済み
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};
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年 前 | 0
回答済み
Create triangulated beam with meshgrid
https://www.mathworks.com/help/matlab/delaunay-triangulation.html
Create triangulated beam with meshgrid
https://www.mathworks.com/help/matlab/delaunay-triangulation.html
約2年 前 | 0
回答済み
How to utilize an existing API to download weather data and use it for calculations in a MATLAB script?
Build a string that is structured like this and use it as the input to webread: https://developer.nrel.gov/api/solar/data_query...
How to utilize an existing API to download weather data and use it for calculations in a MATLAB script?
Build a string that is structured like this and use it as the input to webread: https://developer.nrel.gov/api/solar/data_query...
約2年 前 | 0
| 採用済み
回答済み
I am trying to replicate the “Planning Radar Network Coverage over Terrain” example in MATLAB and want to know how can I change the region of this example?
You need the correct SRTM elevation file for the area you're interested in. These DTED files are only 1x1 degree. You're specify...
I am trying to replicate the “Planning Radar Network Coverage over Terrain” example in MATLAB and want to know how can I change the region of this example?
You need the correct SRTM elevation file for the area you're interested in. These DTED files are only 1x1 degree. You're specify...
約2年 前 | 1
回答済み
Average data from multiple csv files
Here's an example of how to approach this. You'll have to make this work with your specific data and functions. You can do this ...
Average data from multiple csv files
Here's an example of how to approach this. You'll have to make this work with your specific data and functions. You can do this ...
約2年 前 | 0
回答済み
How to share variables between button functions in App Designer?
You want to store these variable as a Property. https://www.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks...
How to share variables between button functions in App Designer?
You want to store these variable as a Property. https://www.mathworks.com/help/matlab/creating_guis/share-data-across-callbacks...
約2年 前 | 0
| 採用済み
回答済み
How can I overlay a shapefile onto a geoscatter plot?
Plotting shapefiles on a geographic axis isn't always the best experience. You'll note that geoshow is intended for use with a s...
How can I overlay a shapefile onto a geoscatter plot?
Plotting shapefiles on a geographic axis isn't always the best experience. You'll note that geoshow is intended for use with a s...
約3年 前 | 0
| 採用済み
回答済み
Download MATLAB2020b for linux
On the download page you can select your release on the left hand side, and then you can selection your OS via the main download...
Download MATLAB2020b for linux
On the download page you can select your release on the left hand side, and then you can selection your OS via the main download...
約3年 前 | 0
回答済み
Help plotting satellite data?
geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');
Help plotting satellite data?
geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');
約3年 前 | 0
| 採用済み
回答済み
Basic question about loops
You could make use of genvarname, but this would work too. for i = 2:5 eval(['Idx' num2str(i) ' = Idx(:,' num2str(i) ');']...
Basic question about loops
You could make use of genvarname, but this would work too. for i = 2:5 eval(['Idx' num2str(i) ' = Idx(:,' num2str(i) ');']...
約3年 前 | 0
| 採用済み
回答済み
Convert nifti file containing a brain region of interest to a logical vector (number of seeds (in this case 1) x number of voxels?
Start here: https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI
Convert nifti file containing a brain region of interest to a logical vector (number of seeds (in this case 1) x number of voxels?
Start here: https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI
約3年 前 | 0
回答済み
Load .slk file format (excel can open it, but can't import it to matlab)
data = readtable('your_spreadsheet.slk','FileType','spreadsheet');
Load .slk file format (excel can open it, but can't import it to matlab)
data = readtable('your_spreadsheet.slk','FileType','spreadsheet');
約3年 前 | 0
回答済み
How to Convert .nii file to png/jpg
https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI
How to Convert .nii file to png/jpg
https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI
約3年 前 | 0
回答済み
Why MATLAB cannot render $\Beta$ (LaTeX string) in xlabel, ylabel?
For an upper case beta, just use B and not \Beta. Here's the characters you can use: https://www.mathworks.com/help/matlab/crea...
Why MATLAB cannot render $\Beta$ (LaTeX string) in xlabel, ylabel?
For an upper case beta, just use B and not \Beta. Here's the characters you can use: https://www.mathworks.com/help/matlab/crea...
約3年 前 | 1
| 採用済み