統計
All
Feeds
回答済み
How to divide this array problem ?
data = [6 7 5 3 4 1 2]; dataA =[data(1) data(2:2:end)]; dataB =[data(1:2:end)];
How to divide this array problem ?
data = [6 7 5 3 4 1 2]; dataA =[data(1) data(2:2:end)]; dataB =[data(1:2:end)];
7年以上 前 | 1
| 採用済み
回答済み
i want to get the max value from a column matrix from a specific no of rows ?
Let A is your given data column matrix, and m is matrix of maximums of each 8760 rows m=zeros(30,1); for i=1:30 m...
i want to get the max value from a column matrix from a specific no of rows ?
Let A is your given data column matrix, and m is matrix of maximums of each 8760 rows m=zeros(30,1); for i=1:30 m...
7年以上 前 | 0
| 採用済み
回答済み
using find function and logical array
find(M) takes the matrix given in argument M, and returns matrix of indexes in M where value at that index in M is not zero. Z=...
using find function and logical array
find(M) takes the matrix given in argument M, and returns matrix of indexes in M where value at that index in M is not zero. Z=...
7年以上 前 | 1
回答済み
Plot where x axis is the date, Part 2 (edited)
xlim(datetime([2016 2018],[4 5],[20 18])) xtickformat('dd-MMM-yyyy')
Plot where x axis is the date, Part 2 (edited)
xlim(datetime([2016 2018],[4 5],[20 18])) xtickformat('dd-MMM-yyyy')
7年以上 前 | 0
回答済み
I dont know how to solve the below question. I'm completely lost on where to even begin. I understand the fprintf, just the sin and cos always throw me off. Any direction would even be greatly appreciated
x=0:0.1:1; f=sin(x./(1+x)); for i=1:length(x) fprintf('%0.8f %0.8f\n',x(i),f(i)); end
I dont know how to solve the below question. I'm completely lost on where to even begin. I understand the fprintf, just the sin and cos always throw me off. Any direction would even be greatly appreciated
x=0:0.1:1; f=sin(x./(1+x)); for i=1:length(x) fprintf('%0.8f %0.8f\n',x(i),f(i)); end
7年以上 前 | 0
| 採用済み
回答済み
Plotting a column of a matrix as function of the others
make a meshgrid using values of X and Y [x,y] = meshgrid(X,Y); make a surfaceplot surf(x,y,Z) refer to link <htt...
Plotting a column of a matrix as function of the others
make a meshgrid using values of X and Y [x,y] = meshgrid(X,Y); make a surfaceplot surf(x,y,Z) refer to link <htt...
7年以上 前 | 0
回答済み
How can I save multiple plots in a specified folder?
To off visibility of figures on screen set(0,'DefaultFigureVisible','off') To save all figures in specified folder, ...
How can I save multiple plots in a specified folder?
To off visibility of figures on screen set(0,'DefaultFigureVisible','off') To save all figures in specified folder, ...
7年以上 前 | 4
回答済み
ismember error message "Subscript indices must either be real positive integers or logicals."
[Lia,Locb] = ismember(X,Y) Determines which elements of X are also in Y as well as their corresponding locations in B. Locb i...
ismember error message "Subscript indices must either be real positive integers or logicals."
[Lia,Locb] = ismember(X,Y) Determines which elements of X are also in Y as well as their corresponding locations in B. Locb i...
7年以上 前 | 1
回答済み
How to count black pixels block by block in an image I divided into 16x16 blocks?
Assuming that if count(number of black pixels in a block) exceeds a certain threshold, you want to change the edges of block to ...
How to count black pixels block by block in an image I divided into 16x16 blocks?
Assuming that if count(number of black pixels in a block) exceeds a certain threshold, you want to change the edges of block to ...
7年以上 前 | 0
| 採用済み
回答済み
how to find muu^k in the image show (this was related to multiobjective)?
Based on what the image describes, assuming you are giving (F,Fmax,Fmin,M,N) as input, normalized membership function can be cal...
how to find muu^k in the image show (this was related to multiobjective)?
Based on what the image describes, assuming you are giving (F,Fmax,Fmin,M,N) as input, normalized membership function can be cal...
7年以上 前 | 0
| 採用済み
回答済み
i want to make the rows of some elements values empty and should be maintain the other row value
Hey Rajesh, Based on your query it looks like you are trying to make a 2 dimensional array on size 2*9 and then making zero ele...
i want to make the rows of some elements values empty and should be maintain the other row value
Hey Rajesh, Based on your query it looks like you are trying to make a 2 dimensional array on size 2*9 and then making zero ele...
7年以上 前 | 0


