Community Profile

# KSSV

### INCOIS

6,732 2011 이후 총 참여 횟수

Professional Interests: Mathematical Computing

#### KSSV's 배지

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
save image without the white border
https://in.mathworks.com/matlabcentral/fileexchange/34898-remove-white-space-around-images

약 2시간 전 | 0

답변 있음
Fast checking if array has repeated elements or not
You can simply use unique to find out whether a array has repeated elements or not. Let A be your array. if length(A)==len...

약 5시간 전 | 0

답변 있음
can you help me? i want to show min and max value on RGB image with histogram, but is not work correctly?
%R Value red_min=min(R(:)) ; red_max=max(R(:)) ; %G Value green_min=min(G(:)) ; green_max=max(G(:)) ; %B Value blue_mi...

약 12시간 전 | 0

답변 있음
How to plot a straight line graph that ends up with a plateau using simple hill climber method
You have to proceed something like this: sol = 0:10 ; val0 = randsample(sol,1) ; iter = 1 ; y = zeros([],1) ; x = zeros...

약 12시간 전 | 0

답변 있음
Punto de interseccion entre una funcion cualquiera y una o varias rectas verticales
Have a look on this function: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=...

약 13시간 전 | 0

답변 있음
How many times does a number appear in these lines?

1일 전 | 0

| 수락됨

답변 있음
Index of the first number divisible by 3
idx = find(mod(A,3)==0) ; iwant = idx(1)

1일 전 | 0

답변 있음
Converting Binary Numbers to their Decimal Equivalent
Refer this: https://in.mathworks.com/matlabcentral/fileexchange/56893-binary-float-convertor

1일 전 | 0

답변 있음
Removing a coordinate from a list of coordinates.

1일 전 | 0

| 수락됨

답변 있음
Matrix split in vector
iwant = A(A>0) If you want in the order you have given. A = A' ; iwant = A(A>0)

1일 전 | 0

답변 있음
convert for loop to while
i = 1 ; f = 1 ; n = 3 ; while i<=n f=f*i; i = i+1 ; end

1일 전 | 0

| 수락됨

답변 있음
how to do a while loop to estimate pi using monte carlo method
https://in.mathworks.com/matlabcentral/fileexchange/33543-monte-carlo-method?focused=5201749&tab=function

1일 전 | 0

답변 있음
Remove data from matrix
If A is your array.... You can remove data using: A(A>30) = [] ; A(A<25) = [] ; Or replace them with NaN's, if yu want same...

2일 전 | 1

| 수락됨

답변 있음
how to pull out indicies from a matrix
Let A be your 2*m matrix... r1 = A(1,:) ; r2 = A(2,:) ; iwant = r2(r1==1) iwant = r2(r1==2) From matrix directly. iwan...

2일 전 | 0

| 수락됨

답변 있음
Elements in array and matrix

4일 전 | 1

답변 있음
how can I convert many images from m x n x 3 to m x n by rgb2gray?
img = dir('*.jpeg') ; N = length(img) ; for i = 1:N thisimg = img(i).name ; I = imread(thisimg) ; Ig = rgb2...

4일 전 | 1

답변 있음
Plotting two variables from a loop
% Constants g=9.81; m=1.5; A=0.028; Cd=0.8; rho=1.225; B=(rho*Cd*A)/2; Dt=1e-6; % Initial values x=0; y=6.4008; %21...

5일 전 | 1

| 수락됨

답변 있음
plot values in the loop
p=3 ; k = 1:p ; val = zeros(1,p) ; for i = 1:length(p) %something if %something d=d+1 val(i) = ...

5일 전 | 0

답변 있음
How to plot an inversely proportional graph ?
plot(k,1./T) ; You can find the inverse/ reciprocal using 1./T.

5일 전 | 0

| 수락됨

답변 있음
How to make a function that calculates percentage change in a vector
Loop: x=csvread('gdp.csv') for i=1:length(x)-1 p = (x(i+1)-x(i))/(x(i)) end Vector: p = diff(x)./x(1:end-1) ;

5일 전 | 0

답변 있음
How get this program to calculate derivative properly?
Yn=A*sin(w*t); dYn = A*w*cos(w*t) ;

6일 전 | 0

답변 있음
converting 2D XY coordinated into Grid format
It depends whether your data is gridded or scattered. Follow the below code to get what you want. Let A be your m*2 array. x =...

7일 전 | 0

답변 있음
Area of intersection of two ellipses
You can follow the below steps. For the two ellipses i.e get coordinates of both the ellipses. Let L1, L2 be your coordinates ...

8일 전 | 0

| 수락됨

답변 있음
Common numbers between arrays

8일 전 | 1

답변 있음
I can’t get the program to run for some reason. I want to use for loops for this program.
You need not to use two for loops.....that is a wrong idea. This is what you should do: Ti = 0; Tinc = pi/180; Tf = pi...

8일 전 | 0

답변 있음
need Matlab program to count the number of lines until dollar sign is given

8일 전 | 0

답변 있음
Single line of code for vectorization, Need Help!!
r = [0.1 0.2 0.3 0.4 0.5] ; h = [0.2 0.3 0.4 0.5] ; [r,h] = meshgrid(r,h) ; v = 1/3*pi*r.^r.*h ;

8일 전 | 0

답변 있음
How do you detect duplicate values within a random array?
If you want to use inbuilt functions......you can use unique. Read about it. Let A be your array. B = unique(A) ; if lengt...

9일 전 | 0

| 수락됨

답변 있음
Plotting question using data (water saturation)
sat_data = water_sattemp_data ; plot(sat_data(:,1),sat_data(:,2)) ;

9일 전 | 0

답변 있음
Adding Array elements from one element to another
Let A be your array. iwant = sum(A(487146:513795)) ;

9일 전 | 0

| 수락됨