Ananya Malik
Followers: 0 Following: 0
Statistics
19 Questions
0 Answers
RANK
38,296
of 295,569
REPUTATION
1
CONTRIBUTIONS
19 Questions
0 Answers
ANSWER ACCEPTANCE
94.74%
VOTES RECEIVED
1
RANK
of 20,247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,105
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Gaussian distribution for 2D points
I want to generate well distributed 100 points using gaussian distribution in a 100x100 region having seperate variances in x-a...
5 years ago | 1 answer | 0
1
answerQuestion
Plot to avoid certain regions in 2D plot
I have to plot some random points in 500 x 500 area by avoiding certain area (poly0 and poly1 in the example below) in the 2D-pl...
6 years ago | 2 answers | 0
2
answersQuestion
area of intersection between a circle and polygon
x = 0;y = 0; r = 0.5; th = 0:pi/50:2*pi; xunit = r * cos(th) + x; yunit = r * sin(th) + y; h = plot(xunit, yunit...
6 years ago | 1 answer | 0
1
answerQuestion
Sort rows based on number of 1's in each row.
I have a matrix A = [1 1 0 1; 1 0 0 0 ; 1 0 1 0 ; 1 1 1 1]; I count the number of 1's in each row and I get count=[3 1 2 4]. I w...
6 years ago | 1 answer | 0
1
answerQuestion
How to check if a point lies in the sector of a circle?
I have a sector defined by the following code. x0=12; y0=13; theta =30; r=3 a1 = 2*pi*rand; % A random direc...
7 years ago | 1 answer | 0
1
answerQuestion
intersection of multiple arrays
I have multiple 1D arrays with integers. Eg. A=[1,2,3,4] B=[1,4,5,6,7] C=[1,5,8,9,10,11]. Here 1 is repeated in all the arrays a...
7 years ago | 3 answers | 0
3
answersQuestion
random number generation to add and subtract
I want to create an array of 4 single digit numbers in the range [-9,9] without 0. Addition of these 4 numbers should result in ...
7 years ago | 3 answers | 0
3
answersQuestion
writing multiple 2D matrices in 1 excel file
I have multiple variables containing 2D data that I want to write in either xls or txt file. Suppose in each iteration I get ...
7 years ago | 2 answers | 1
2
answersQuestion
plots values at specfic indices from 1D array
I have an array of 500 values. I want to plot value at every 50th index (i.e. 1, 51, 101, 151, 201, 251, 301, 351, 401, 451 and ...
7 years ago | 1 answer | 0
1
answerQuestion
Writing results in excel from matlab
I need to write a string value in an excel cell, followed by array values of A and B (each value in a different cell) like in th...
7 years ago | 1 answer | 0
1
answerQuestion
grouping string values in matlab
I have 3 columns. 1st column is a numeric (1,2,3....) denoting person number. 2nd column states the day of week(sun-sat). 3rd co...
7 years ago | 2 answers | 0
2
answersQuestion
customizing point names in matlab
Is there a way to rename the point names in matlab plots? I know the following code will label the points from 1 to k. for ...
8 years ago | 2 answers | 0
2
answersQuestion
How to populate a cell array?
I want to create an array with 10 rows and each row should contain a [5x2] matrix. I also want to know (a)inserting data...
8 years ago | 1 answer | 0
1
answerQuestion
identify duplicate rows in a matrix
I have a matrix A = [1 2 3; 3 4 5; 1 2 3]; I want to identify the duplicate row i.e. 3rd row and replace the values in tha...
8 years ago | 2 answers | 0
2
answersQuestion
Finding second smallest element in a row.
I have a row X = [441 137 594 507 417 581 312 362 263 151 472 512 129 70 298 255 442 574 289 157 0]; I want to find the s...
8 years ago | 2 answers | 0
2
answersQuestion
points lying in the intersection of 2 circles
Suppose i have 2 points (x1, y1) and (x2,y2). I draw circle with radius 'r'. I want to find "all" the points which lie in the in...
8 years ago | 1 answer | 0
1
answerQuestion
finding elements in a matrix`
I have a a matrix A= [1 3 10; 1 8 10; 2 4 9] and an array x = [2 9]. i want to check if x is present in a ...
8 years ago | 2 answers | 0
2
answersQuestion
remove duplicate rows from a matrix
I have a matrix of the form A=[317.0000 282.0000 310.0000 259.0000 257.0000 305.0000 294.6667 282.0000 317.00...
8 years ago | 2 answers | 0
2
answersQuestion
Difference between the arrays
I have 2 arrays A= [1 2 3 4] and B = [2 3 4 5] representing paths in a graph. I want to find difference between the arrays. A-B ...
8 years ago | 1 answer | 0