已回答
how to convert the satellite data to an image
Read about imwrite.

25 days 前 | 0

已回答
Can anyone provide me simple code for T-Tide assessment. I want to use T-Tide assessment and prediction. I am new to MATLAB but have basic knowledge. I have tidal data.
This is the home-page for t_Tide: https://www.eoas.ubc.ca/~rich/ You have a look on the function t_demo. This gives an easy ex...

25 days 前 | 0

已回答
i want plot 100 sheets of excel data in one plot. in each sheet number of column's are same and i want to plot 3rd column on Y axis and the cycle(sheet number) on y-axis.
file = 'filename.xlsx' ; [status,sheets] = xlsfinfo(file) ; N = length(sheets) ; figure hold on for i = 1:N fprin...

1 month 前 | 0

已回答
Colormap with different color transition
USe RGB color values. For this use the link: https://www.rapidtables.com/web/color/RGB_Color.html Fix two colrs, initial color...

1 month 前 | 0

已回答
find the maximum value in within a specific range?
A = [50.36 2 50.94 500 51.45 40 51.86 253 51.93 290 52.16 960 52.39 15]; ...

1 month 前 | 0

| 已接受

已回答
How do I fix the error invalid use of operator?
You should change this line: C = CAO*(1-x)@(x)1./(1-x); to C = @(x) CAO*(1-x).*1./(1-x);

1 month 前 | 0

已回答
How to terminate my code?
You can use for loop instead of while....You know the number of counts right. clc; close all; clear all; %-----------SPACEG...

1 month 前 | 0

已回答
Index exceeds number of array elements. Index must not exceed one. Error when applying length() outside of any loop
It looks like you have used the functions length as a variable name. The work space shows length as 296132. You should not nam...

1 month 前 | 1

| 已接受

已回答
How to delete rows with values 0 from matrix
A = [0 0 0; 0 0 0; 5 1 0; 0 0 0; 1 0 3; 5 9 5; 0 0 0] A(~any(A,2),:) = []

1 month 前 | 0

已回答
How to input two values as one value
samples = length(Y); fs = 100; time = 0:1/fs:samples/fs-1/fs; iwant = Y(time>=20 & time<=40)) %<-- this pciks Y for time be...

1 month 前 | 0

| 已接受

已回答
how to make a table of iterations
The vairable T at the end is the required table. If you want it as an array check the variable iwant. tic clear; clc; close a...

1 month 前 | 0

已回答
I am confused what is wrong with my code
You need to input the image move to the function. move = input('Enter the name of the image: ', 's'); [board_game1] = Analyze...

1 month 前 | 0

已回答
How can I 3d interpolate a function f: R^3 --> R^3 ?
Read about scatteredInterpolant and griddata

1 month 前 | 1

已回答
I am MATLAB beginner, and I got stuck because of some error. Not enough input arguments. Error in Function1 (line 15) R1 = imfilter(InputImg, H, 'symmetric');
It looks like you are running the code/ function striaght away using hit button or F5 or by calling the function. This is not th...

1 month 前 | 0

| 已接受

已回答
How can I display the variables in .nc files?
Try giving the extension. F='Total_Chl.nc' ncdisp(F)

2 months 前 | 0

已回答
How to plot in 2D this equation?
x0 = linspace(-5,5,200); y0 = x0; n=10;a=0.1; w0=0.01;m=0; [x0,y0] = meshgrid(x0,y0) ; r=(sqrt(x0.^2 +y0.^2)); f = @(x0...

2 months 前 | 0

| 已接受

已回答
Multiple_independant variables on X-axis bottom
plot(1:3,rand(1,3)) xticks([1 2 3]) str = {sprintf('1\\newlineOne\\newlineOkati') sprintf('2\\newlineTwo\\newlineRendu') sprin...

2 months 前 | 0

已回答
Merging Date and time
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1361583/LI7500_eddypro_LP_2023_JFM_full_output_2023...

2 months 前 | 0

已回答
"griddata" results in much smaller values than original data
data=importdata('manila.dat'); lon=data(:,2); lat=data(:,3); elev=data(:,4); xr = 118.7:0.2:121; yr = 12.4:0.2:20.7; ...

2 months 前 | 1

已回答
Is there a way to append all arrays nested in a table without looping?
D = table2array(T.d)

2 months 前 | 0

| 已接受

已回答
How can i display this user defined matrix made with a loop
n=4;m=5; matrix = zeros(n, m); fun_choice = 1; for k = 1:n for h = 1:m if fun_choice == 1 matrix(...

2 months 前 | 0

已回答
how to draw a meshed geometry?
clc; clear all ; % Define the vertices of the triangle v1 = [0, 0]; v2 = [20, 0]; v3 = [30, -10]; v4 = [50, -10]; v5 = [50...

2 months 前 | 0

| 已接受

已回答
How can I have US map's boundary points as pairs of longitude and latitude?
You may download the shape file of your required country here: https://www.diva-gis.org/ Else you can also have a look on inbu...

2 months 前 | 0

| 已接受

已回答
How to skip warning
Try warning off... Any ways it is better not to load whole netcdf file at once.

2 months 前 | 0

已回答
How to insert different size matrices into each row of a zero matrix
M = zeros(4) ; for i = 1:4 M(i,1:i) = rand(1,i) ; end M

2 months 前 | 0

已回答
Express a matrix as product of elementary matrices
If you have a number, you can try to get its multiples or product of numbers using: x = 10; v = 2:x/2; c = v(mod(x,v)==0)

2 months 前 | 0

已回答
Processing Timeseries of Cylinder Pressure Data
REad about functions: readtable, datetime, logical inequalitties and plot

2 months 前 | 0

| 已接受

已回答
finding edge/ plot from image/ maze
You can use contour.

2 months 前 | 1

已回答
How to save matrixes resulted from a running loop for further use in MATLAB
Let mxn be your matrix size and you are running loop ntimes. In this case you can save the matrix in the loop using the below co...

2 months 前 | 0

加载更多