KSSV
https://sites.google.com/site/kolukulasivasrinivas/
Professional Interests: Mathematical Computing
Statistics
RANK
106of 17,715
名声
9,808
AVERAGE RATING
4.60
CONTRIBUTIONS
30Files
DOWNLOADS
428
ALL TIME DOWNLOADS
91571
CONTRIBUTIONS
0帖子
CONTRIBUTIONS
0公共渠道
AVERAGE RATING
CONTRIBUTIONS
0Highlights
平均号喜欢
Content Feed
2-D colormap(加载.txt文件)
path ='kx values \*。txt';文件= dir(path);n =长度(文件);数据=单元格(n,1);对于i = 1:n file = fullf ...
16 hours ago | 0
使用Vertcat进行不同长度的单元格数
% Make dummy data for demo A = cell(3,2) ; for i = 1:3 for j = 1:2 N = randperm(10,1) ; A{i,j} = ran...
16 hours ago | 1
How to arrange this code to run
D0 = [0,0];v0 = [2,3];A0 = [0,0];dt = 1e-3;n = 9001;mass = @(d,v,a)质量(d,v,a);damping = @(d,v,a)阻尼(d,v,...
6天前|0
向前的Euler方法错误
The loop should be taken as: for i = 1:round(N) In your present case, it is a fraction and you are getting non integers as the...
6天前|0
Obtain coordinate of a vector or multivalued function
It should be v(i) not v[i]. Read about MATLAB indexing. f=@(a,b,c,d) [a.^2-b+c+d,a-b.^2+c+d.^3,a.*b.*c.*d,a-b-c-d]; % anonymou...
6天前|0
Filter an image to obtain certain pixels and retrieve their original [row,col]?
idx = find(Img>0) ; [row,col] = ind2sub(size(Img),idx) ;
6天前|1
我如何在matlab上表示这个方程式
将示例扩展到您的案例。n = 100;t = linspace(0,4,n);x = 2*sin(3*pi*t);情节(t,x)
6天前|0
|公认
Plotting meteorological data on Geographic maps
您可以在此处下载形状文件:https://gadm.org/download_country.html读取形状文件,使用shaperead。你可以...
6天前|0
Delete rows with zero after importing several files
If you want to remove rows which have zeros in specific columns do: c = 2; % column to check for zero idx = Ratio(:,c)==0 ; ...
7天前|0
Error saying matrices are not the same size
I think the loop should be something like this: for i = 2:length(t)-1; w(i,:) = w(i-1,:)+h*f(t(i),w(i-1,:)) ; end In yo...
7天前|0
|公认
Find the position matrix of boundary points in an image
You can do it manually using getpts, ginput. Read about these functions. If you want to do it automatically, you can get the whi...
8天前|0
How to choose surface point in 3D plot
REad about delaunaytraingulation, once mesh is formed you can use patch or trisurf. If you could do fine, else attach your data....
9 days ago | 0
您什么时候与操作员一起使用期间?
如果您正在执行标量操作,则不需要周期。a = rand;b = rand;a*b a^b如果您正在做数组ope ...
9 days ago | 0
|公认
Plotting 4D surface plot (x,y,z and one is colour bar)
A = [-0.5788245 0.30687669 0.22984767 0.22355179 -0.1582685 0.29329778 0.24892007 0.22159881 -0.6557496 0.308436399 0.22769311...
9 days ago | 0
计算与地理点的距离
USe Haversine's formula: Let (lon1,lat1) and (lon2,lat2) be your coordinates in degrees. % Haversine formula dlon = lon2 - l...
9 days ago | 1
如果没有原始数据,如何将曲线(在图中)乘以-1?(我只有绘制的数据。)
https://in.mathworks.com/matlabcentral/answers/383567-how-to-tocract--xtract-x-y-x-y-data-values-from-matlab-figure-figure https://in.mathworks.c ...
9 days ago | 0
intensity plot x-y plane
Read about pcolor, surf. Your code is a mess, it needs lot of changes. You shoul dinitialize the arrays which are getting fi...
10days ago | 0
命令或如何获得具有给定未知系数的多项式的最佳真实根。
syms x a b c d e p = a*x^4+b*x^3+c*x^2+d*x+e==0 s = solve(p,x)
10days ago | 0
每次循环迭代后更新变量
generated_word='matlabcommunity' ; newChr=[]; promt = cell(length(generated_word),1) ; for i=1:length(generated_word) ...
10days ago | 0
给定矩阵,如何将矩阵切成矩阵,给定输入参数是行数和列数?请参见示例。
阅读有关Mat2Cell的信息。Origimgmatrix = [2 4 6 8 9 2 3 4 1 4 9 8 3 9 1 4]; ...
12天前|0
可变数据的最佳拟合曲线
% data x = [1.0779 1.2727 1.4700 1.5766 1.6471 1.7396 1.7828 1.8208 1.8370]' ; y = [7.9511 9.8400 ...
12天前|1
通过循环和if语句制作向量
If you want to store the index: y = zeros([],1) ; u=length(Datatest.Timehhmm); count = 0 ; for i=1:u z= Datates...
12天前|0
Error on plotting (Index in position 1 exceeds array bounds. Index must not exceed 51.)
Simply try: surf(T_n)
13 days ago | 1
|公认