monika shivhare
Indian Institute of technology, BHU, Varanasi
自 2018 起处于活动状态
Followers: 0 Following: 0
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)];
6 years 前 | 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...
6 years 前 | 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=...
6 years 前 | 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')
6 years 前 | 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
6 years 前 | 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...
6 years 前 | 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, ...
6 years 前 | 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...
6 years 前 | 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 ...
6 years 前 | 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...
6 years 前 | 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...
6 years 前 | 0