M.Prasanna kumar
Followers: 0 Following: 0
Feeds
提问
how to replace all elements with zeros after "ONE" (number) in every column of matrix???
in each column of 2000*32 matrix there are so many "ONES" i want to replace all elements with zeros after first "ONE". there mi...
5 years 前 | 2 个回答 | 0
2
个回答提问
how to calculate deviation for set of values??
No of cases = 112; (112*9=1008) in each case i have 9 obsevations( but there are missing values in between for which matlab tre...
5 years 前 | 1 个回答 | 0
1
个回答提问
how to reduce forloops and run time??
for rr = 1:25 for mm = 1:150 for nn = 1:300 [~,idx] = min(abs(var1(:,1) - tof(mm,nn,rr))...
5 years 前 | 0 个回答 | 0
0
个回答提问
how to remove zero matrix(all elements are zeros) from 'distances which is 3d matrix'??
distances = reshape(dist3,[100,250,484]); in the above "distances" matrix there are 231 matrices in which all the elements are ...
5 years 前 | 1 个回答 | 0
1
个回答提问
how to reduce the use of repeated for loops as i explained below???
when SS =1 , KK loop should not take the value from 1 to 3 when SS = 2:23 , KK loop should not run for SS-1:SS+1 when SS =24 ,...
5 years 前 | 1 个回答 | 0
1
个回答提问
I want to reduce the repeated for loops as i explained below. any help??
when SS =1 , KK loop should not take the value from 1 to 3 when SS = 2:23 , KK loop should not run for SS-1:SS+1 when SS =24 ,...
5 years 前 | 1 个回答 | 0
1
个回答提问
i want to reduce the use of repeated for loops as i explained below???
when SS =1 , KK loop should not take the value from 1 to 3 when SS = 2:23 , KK loop should not run for SS-1:SS+1 when SS =24 ,...
5 years 前 | 0 个回答 | 0
0
个回答提问
how to add all 2d matrices in a 4D matrix???
i have a matrix of 10*50*24*24 i want to add all 10*50 matrices?? any help???
5 years 前 | 3 个回答 | 0
3
个回答提问
how to increase the number in for loop as i explained below??
for tt = 1:24 for rr = 1:24 for mm = 1:10 for nn = 1:50 [~,idx] = min(abs(time(:,1) ...
5 years 前 | 1 个回答 | 0
1
个回答提问
i want to search index number of element (based on condition)in an array and magnitude corresponds to index in matrix
I have matrices from t1 to t24 (24 matrices of size 122249*25) time matrix and tof is 4D matrix , when value in time matrix e...
5 years 前 | 0 个回答 | 0
0
个回答提问
i want to find distances between coordinate points as i explained below?? any help??
i have coordinates as A = (0,0); B = (1,0); C = (2,0) D = (0,1); E = (1,1); F = (2,1) G = (0,2); H = (1,2); ...
5 years 前 | 1 个回答 | 0
1
个回答提问
i have a matrix A(25357*2), i want to delete rows as i explained below. any help?
In the attachced excel sheet above, Some rows starts with 1(40rows),some rows starts with 2(58rows), some rows starts with 3(55...
6 years 前 | 1 个回答 | 0
1
个回答提问
i have a matrix A of size 523418*2, i want to delete repeating pair?? as i explained below. any help??
a = [ 1 2 ; 2 1 ; 2 3 ; 5 2 ] a = 1 2 2 1 2 3 5 2 i used following two logics,but n...
6 years 前 | 1 个回答 | 0
1
个回答提问
i have a martix A, i want missing numbers in the 2nd column as i explained? any help??
A = 1 3 1 5 1 6 1 8 1 10 2 4 2 8 2 9 3 ...
6 years 前 | 3 个回答 | 0
3
个回答提问
I have followwing code in which xn = (x1,y1)& yn= (x2,y2) coordinates.Distance between each (x1,y1) and (x2,y2) is greater than 22.i want (x,y) coordinates, condition is distances between every coordinate to all other coodinates should be >22
F = [x5;y5]'; %% x,y coordinates D = pdist(F); indx = squareform(D)>22; [p1,p2] = find(triu(indx)); xn = F(p1 , :); yn = F...
6 years 前 | 0 个回答 | 0
0
个回答提问
I have matrix F (x,y coordinates), which is 1000*2 matrix. i calculated distances between coordinates using PDIST2 command. i want coordinates which are at distance greater than 22?
F = [x5;y5]'; % x,y coordinates distances = pdist2(F,F); %% claculating distances between every coordinate to all other coodina...
6 years 前 | 1 个回答 | 0
1
个回答已回答
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
sorry to forum members, i am not expecting forum to solve completely. i'm expecting only help. its my mistake , i didnt provide...
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
sorry to forum members, i am not expecting forum to solve completely. i'm expecting only help. its my mistake , i didnt provide...
6 years 前 | 0
已回答
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
All the random diameters i want is integers. sorry for the typo 400 * 100 is rectangle. yes i want package with maximum number o...
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
All the random diameters i want is integers. sorry for the typo 400 * 100 is rectangle. yes i want package with maximum number o...
6 years 前 | 0
已回答
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
No sir, I dont know how to proceed?
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
No sir, I dont know how to proceed?
6 years 前 | 0
提问
I should fill the area of a 400x100 square with random circles having random diameters between 20 and 1 (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
please some body help??
6 years 前 | 3 个回答 | 0
3
个回答提问
I should fill the area of a 400x100 rectangle with random four sided polygons having different sizes (without overlap). Then, I need the output file of the generated coordinates. Can someone help me, please?
out put should look like this image. please help me
6 years 前 | 0 个回答 | 0
0
个回答提问
i want to pick n1*2 matrix (sub matrix 1) randomly from m*2 matrix (n1<m). condition is while picking n2*2 (submatrix 2) the rows of submatrix 1 should not be repeated in the subsequent selection. please help me
example: A = [ 1 2 ; 3 4 ; 5 6 ; 7 8 ; 9 10; 11 12 ]; output should be A1 = [ 1 2 ; 3 4 ]; A2 = [ 5 6 ; 7 8 ; ]; A3 = [ 9 1...
6 years 前 | 0 个回答 | 0
0
个回答提问
I need x,y coordinates which are randomly generated between 1 to 400 for x coordinates and 1 to 100 for y coordinates, condition is minimum distance between coordinates is 10 and maximum distance is 20, distances should vary from 10 to 20? plz help
clear all; close all; pointsToPlace = 30 ; % # of random coordinates we need to place % Preallocate points x = zeros(1, p...
6 years 前 | 1 个回答 | 0
1
个回答提问
for the same answer,,suppose, X ranges from 1 to 500, y ranges from 1 to 200 , Is it possible to find how many such coordinates are possible so that distance from each and every coordinate to other coordinate is > 20
BWremain = true(300); % Number of random coordinates N = 100; % Selected coordinates are stored these variables row =...
6 years 前 | 1 个回答 | 0
1
个回答提问
i want x,y coordinates which are randomly generated between 1 to 300 ,condition is distance between every coordinate is >20. how to proceed further
i=5 ; %% no. of random coordinates xc = round((1 + (60-1)*rand(i,1)),0); %% random X- coordinate...
6 years 前 | 2 个回答 | 0