Community Profile # KSSV

Last seen: Today 2011 이후 활성

Professional Interests: Mathematical Computing

#### Statistics

All
• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

답변 있음
How to mark range of Y values in a plot?
AStudent=randi(50,1,100); BStudent=randi(50,1,100); CStudent=randi(50,1,100); DStudent=randi(50,1,100); figure hold on p...

약 1시간 전 | 0

답변 있음
Integration of exponential function
syms t y(x) f = y(x)*exp(-2*(t-x)) ; int(f,x,0,t)

약 1시간 전 | 0

답변 있음
How do I find max values in a vector
v=[1, 3, 5, 2, -4, -3, -1, 2, 3, 1, 2, -3, -2, -4] ; iwant = [max(v(v>0)) min(v(v>0)) max(v(v<0)) min(v(v<0))]

약 18시간 전 | 0

답변 있음
plotting multiple vertical lines on a graph
figure(1) cla; scatter(x(:,a),y(:,a)) xlabel('X Coordinates') ylabel('Y Coordinates') title('Particle locations in the rice...

약 18시간 전 | 0

| 수락됨

답변 있음
I want to change xlim,ylim of axes , and draw a circle at the point I chose when I click on a place in the axes in GUI
th = linspace(0,2*pi) ; R = 1. ; % Radius of circle x = R*cos(th) ; y = R*sin(th) ; figure axis([-5 5 -5 5]) ; % cahange...

약 21시간 전 | 0

답변 있음
Output of [~,IDX] = max(...) not in DOUBLE but in INT.
You can convert double into integer using int32 ot int64.

약 21시간 전 | 0

답변 있음
How to plot a curve between 2 data sets
P1=[2.3;3.9;3.5;4.8;5.5;6.3;7.4]; P2=[4.8;5.7;6.5;7.8;9.2;10.5;11.8]; D=[78;65;57;52;46;32;27]; %% Dp=P2-P1; Q=0.24*D; % ...

약 22시간 전 | 0

답변 있음
How to insert variables (string) in MATLAB function
syms t R=[1 0 0;0 cos(t) -sin(t); 0 sin(t) cos(t)]

약 23시간 전 | 0

답변 있음
Monthly Time Series Plot
You can do intepolation by creating your required time stamps or use the inbuilt function retime. https://in.mathworks.com/help...

약 23시간 전 | 0

답변 있음
How to change output format 20 culumn!
r = 2; % number of rows c = 30 ; % number of columns M=rand(r,c)

약 23시간 전 | 0

답변 있음
How do I plot quivers on a curve?
If you are expecting colors based on the magnitude use this: https://in.mathworks.com/matlabcentral/fileexchange/3225-quiverc

1일 전 | 0

답변 있음
generate column array with day in year number for each hour in a year
r=repmat(0:364,24,1) ; r=r(:);

4일 전 | 2

| 수락됨

답변 있음
How to find how many intersections in a graph?
Refer this function: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

4일 전 | 0

| 수락됨

답변 있음
how to repeat an input question
A = 'start' ; while ~strcmpi(A,'end') N=input('what is N?: ') %establishes N A=input('give me a sentence!: ','s'); %a...

4일 전 | 0

답변 있음
Find a y axis increasing point in a plot -
Let y be your array. idx = find(y==1) ; iwant = idx(1)-1

5일 전 | 0

답변 있음
Convert an integer into a decimal number
m=2 m/10 If your class of variable is int32 or int64 i.e. an integer. Then convert it to float using double. m = int64(2) ...

5일 전 | 0

| 수락됨

답변 있음
Can you create a matrix where every element is a vector?
You can consider each element as a cell. And then create a cell array. But why? A = cell(2) ; A{1,1}=rand(1,3) ; A{1,2}=rand(...

5일 전 | 0

| 수락됨

답변 있음
Problem using fft();
Remove the mean from the data and then use fft. Say A is your data, (array). For fft use: A = A-mean(A) ;

5일 전 | 0

| 수락됨

답변 있음
How to plot NaN value
idx = isnan(A) ; A(idx) = 0 ; surf(A) view(2)

5일 전 | 0

| 수락됨

답변 있음
How to find all intersections in a Matlab graph?
USe this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?requestedDomain=

5일 전 | 0

답변 있음
Storage results in an array
x=[2,3,4,5,6]; y=zeros(size(x)) ; for i = 1:length(x) if x(i)>4 y(i)=x(i)^2 else y(i)=x(i)+2 ...

5일 전 | 0

| 수락됨

답변 있음
What does 'li' mean?
1i stands for complex number. i.e. sqrt(-1). c=2+3*i c=2+3*1i

6일 전 | 0

답변 있음
how can I extract 2D matrices for xy, xz, yz planes from a 3D matrix and use the pcolor function?

6일 전 | 0

| 수락됨

답변 있음
How to read the desired coordinates from this image and find the coordinates with the highest value
You have plotted this image with the coordinates in hand. USe max function to get the maximum value. Read about function max. ...

6일 전 | 0

답변 있음
How do I plot and return the values of multiple intersections between a function and zero?
You can consider using this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

6일 전 | 0

답변 있음
find minimum from cell array
T = readtable('my_excel.xlsx') ; [val,idx] = min(T.(2)) ; % get minimum from col2 iwant = T.(1)(idx) ; % get the value I...

6일 전 | 0

| 수락됨

답변 있음
I have matrix A and I need to find (e^(At)) where t is the sampling time. How to find that? Also what is the difference between exp(A) and expm(A)?
A = rand(2) ; t = linspace(0,1) ; iwant = zeros(2,2,100) ; for i = 1:100 iwant(:,:,i) = exp(A*(t(i))) ; end exp might ...

6일 전 | 0

답변 있음
how to visualize a data with lon, lat and time array

6일 전 | 1

답변 있음
How do i find max value between 1 and 13 column of 1001 columns.
x = rand(1,1001) ; y = reshape(x,[],13) ; % reshape iwant = max(y,[],2) ; % get max

6일 전 | 0

답변 있음
Running time Average of column values
If A is your column array. iwant = cumsum(A)./(1:numel(A))

7일 전 | 1