Community Profile

photo

Ashutosh Atre


Active since 2015

Followers: 0   Following: 0

Student

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How can I select random element from one of the array in structure?
I have a structure named peer which has 2 arrays value[] and age[]. I want to select random element from value[]and assign it to...

8 years ago | 1 answer | 0

1

answer

Question


How to select one random element from the structure containing 2 integer array??
I have structure peer1 with 2 arrays value[] and age[], I want to select 1 random element from value array and store it in varia...

8 years ago | 0 answers | 0

0

answers

Question


How to display a structure with 2 integer array in a command window?
prompt = 'Enter the Number of Nodes? '; n = input(prompt); while (i<=n) valprompt = 'Enter the value of Node?'; ...

8 years ago | 1 answer | 0

1

answer

Question


How to create a structure which accepts 2 integer arrays?
I want to create one structure named peer which accepts integer array of records 1)value 2)Age? So, how can I declare the st...

8 years ago | 1 answer | 0

1

answer

Question


how to append 1 array with half the elements of second array?
I have 2 arrays Arr1=[2 3 4 5] and arr2=[6 7 8 9 10 12] with C=number of elements in arr2 (here, it is 6). So, I want to append ...

8 years ago | 1 answer | 0

1

answer

Question


How to subtract 2 vectors in matlab? e.g (x,y)=(ne,ew)-(ec,nc)=(27''E,6''N)-(54''E-0''N)
and with that answer, I want to calculate vector's angle? How to compare angles in matlab?

8 years ago | 1 answer | 0

1

answer

Question


How to display single points (-24,9) and (-18,3) in a plot ranging from x-co-ordinates: (-27,27) Y-co-ordinates: (-27,27) by dot?
I want to trace a path of a robot starting from these 2 points. I would like to know how to inculcate previous plot in current

8 years ago | 1 answer | 0

1

answer