Community Profile # KSSV

Last seen: Today 2011 이후 활성

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu

#### Statistics

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

#### Content Feed

보기 기준

답변 있음
3 vector to surface 3d plot?

약 18시간 전 | 0

답변 있음
Divide a column of a datafile through a constant value
txtFiles = dir('*.txt') ; % you are in the folder of text files N = length(txtFiles) ; % total files % loop for each file ...

약 21시간 전 | 1

답변 있음
how to use quiver3 plot vectors at zero points(i want to set the start point of the vectors all at zero points)
Simple, make x,y,z matrices as zeros matrix. [x,y,z]=meshgrid(-3:1:3,-3:1:3,-3:1:3); dx=x; dy=y; dz=z; r=(dx.^2+dy.^2+dz.^...

1일 전 | 1

| 수락됨

답변 있음
How to perform the following operation ( M(:,c)=M(:,c)+thr*M(:,c).*(N*2-1); )in each column in matrix M?
thr=.05 ; M = rand(14,128) ; N = rand(14,1) ; for c=1:128 M(:,c) = M(:,c)+thr*M(:,c).*(N*2-1); end

4일 전 | 0

| 수락됨

답변 있음
find data with same name

4일 전 | 0

| 수락됨

답변 있음

4일 전 | 0

| 수락됨

답변 있음
Multiple color bar graph in Matlab
x=[1 2 3] ; y=[10 20 30] ; c = {'r','g','b'} ; figure hold on for i = 1:3 bar(x(i),y(i),c{i}) end

4일 전 | 1

| 수락됨

답변 있음
plotting a 2D truss
Refer this: https://in.mathworks.com/matlabcentral/fileexchange/86548-matlab-truss-finite-element-analysis If not attach your ...

4일 전 | 0

답변 있음
Index in position 2 exceeds array bounds. Index must not exceed 1. Error in FYP2 (line 154) h = plot (f ,Range(:,c));
Your RANGE is a array of size 991x1 and you are trying to extract more number of elements from it. May be you need to replace Ra...

5일 전 | 0

답변 있음
Addition of two different sized arrays
You may resize them to same size using imresize.

5일 전 | 1

| 수락됨

답변 있음
How to calculate differential equation with trigonometric function?
f = @(x,y) -1./((2./y).*x+x.^2*y.^2.*cos(y)) ; xspan = [0.1 2] ; x0 = 1 ; [x,y] = ode45(f, xspan, x0); plot(x,y)

5일 전 | 0

| 수락됨

답변 있음
Use a for-loop for multiply colums of two arrays
A = rand(4,8) ; B = rand(4,1) ; iwant = A.*B ;

5일 전 | 1

답변 있음
Three columns (x,y,z) in table, Loop through table for each X plot Y vs Z
Let data be your three column matrix. x = data(:,1) ; y = data(:,2) ; z = data(:,3) ; xi = unique(x) ; yi = unique(y)...

5일 전 | 0

답변 있음
How to interpolate pressure
load('matlab_Pressure.mat') L = linspace(5,700,length(PP)) ; Li = min(L):max(L) ; PPi = interp1(L,PP,Li) ; plot(L,PP,'....

5일 전 | 0

| 수락됨

답변 있음
Using arrays, x and y coordinates, to calculate values for each pair of x and y
What I can understand is, you can make use of knnsearch, rangesearch

5일 전 | 0

답변 있음
What does .Metric do?
These lines: matchedPoints1 = valid_points1(indexPairs(:,1),:); matchedPoints2 = valid_points2(indexPairs(:,2),:); The result...

5일 전 | 0

| 수락됨

답변 있음
Selecting data points from a plot
A rough idea would be to use boundary.

5일 전 | 0

답변 있음
Image file saving location
thepath = 'C:\Users\leehj\Desktop\aaa\' ; for i = 1:5 h = imagesc(X, Y, Z(:,:,i)); xlim([-2 2]); ylim([-1 1]); fnam...

5일 전 | 0

답변 있음
Is there a way to add a global subtitle over a group of subplots?
figure subplot(221) title('First Subplot') subplot(222) title('Second Subplot') subplot(223) title('Third Subplot') subpl...

5일 전 | 1

| 수락됨

답변 있음
plot textdata with NaN

6일 전 | 0

답변 있음
Performing calculations for specific values in a table defined by certain values from another column (Date)
Let T be your table. [c,ia,ib] = unique(T.Date) ; N = length(c) ; theduration = duration(nan(N,3)) ; for i = 1:N Ex...

6일 전 | 1

| 수락됨

답변 있음
Convert daily data to monthly data with missing values.
You can fill the missing values using fillmissing. You can resample the data using retime

6일 전 | 0

| 수락됨

답변 있음
Histogram Not Plotting Correctly
n = 100; x = zeros(1,n) ; for k = 1:n x(k) = randi(5) ; end hist(x,10) Loop is not required. n = 100; x = randi(5,1,...

6일 전 | 0

답변 있음
Error using legend (line 263) Element 1 is not a string scalar or character array. All elements of cell input must be string scalars or character arrays.
There is a problem in creating the legend string. I have modififed the code, now error is rectified. But your code is messy. You...

6일 전 | 0

| 수락됨

답변 있음
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
The error is simple, you are trying to save wrong number of elements then the LHS is intialized for. A = zeros(5,5) ; % A is ...

6일 전 | 0

| 수락됨

답변 있음
How to plot 2D location vs corresponding data in MATLAB

6일 전 | 0

답변 있음
Error in T12 (line 35) surf(X, Y, fplot) and I have no idea what I was wrong
clc clear close all syms x y f = @(x,y)(x.^2+y.^2+x.*y-12*log(x)-10*log(y)); fx = diff(f,x); fy = diff(f,y); [xc,yc] = so...

6일 전 | 0

| 수락됨

답변 있음
Too many input arguments using square
Code is working fine. It seems you have introduced a variable named square. Clear it and then run the function. REad about clear...

7일 전 | 0

| 수락됨

답변 있음
How to calculate inverse of 3d array matrices with size 3*3*18 ?
A = rand(3,3,18) ; [m,n,p] = size(A) ; B = zeros(m,n,p) ; for i = 1:p B(:,:,i) = inv(A(:,:,i)) ; end

7일 전 | 0

| 수락됨

답변 있음
plot 2D array using imagesc ?