Community Profile

photo

Ahsan Khan


Active since 2011

Statistics

  • First Review
  • Thankful Level 4

View badges

Content Feed

View by

Question


for loop iteration keeps previous vector length....why? please help
Hi there guys, I have written a simple code (shown at the bottom). the problem is that when the loop starts and goes to the n...

9 years ago | 1 answer | 0

1

answer

Question


How can I plot only certain values from an array?
hi there, say I have an array [1,3,5,7,1,5,1,7,8,1]. I want to plot ONLY say value 1 from this array in accordance with the ind...

9 years ago | 3 answers | 0

3

answers

Question


need help drawing ellipse PLEASE
hi guys I am trying to draw the orbits of an asteroid and earth for an assignment. I am using the pdeellip tool to do his. I...

9 years ago | 0 answers | 1

0

answers

Question


How to spread out an array of integers according to it's value?
Hi there, say I observe a random array of integers 1-10. x = [6 3 9 4 7 10]. how can i transform this array so each integer is...

10 years ago | 1 answer | 0

1

answer

Question


Attaching a specific value to a set of numbers
hi there, Say I have an array that consist of integer numbers 1 to 15. x = [1;3;5;6;15;9;8;10;11;13;12;14;7;2]. Notice that...

10 years ago | 1 answer | 0

1

answer

Question


Summing a Matrix, row by row.
Hello there, I want to get the sum of a matrix row by row. for example if a have a matrix: A = [1,2,3;1,2,3;1,2,3] then...

10 years ago | 2 answers | 0

2

answers

Question


counting and plotting elements in a vector
hi there, i want to count the number of elements in a vector and plot it right away. ex: v = [2,3,2,4,5,6,5,6,7,] the out put ...

10 years ago | 1 answer | 0

1

answer

Question


matrix row extraction help
hi there, i have a very simple question. how do i extract certain rows from a matrix. for example say i have a matrix nxm and i...

11 years ago | 1 answer | 0

1

answer

Answered
Need help with factorizing array of numbers
thanks for a quick reply. they both work but In either of those cases mentioned above how do i then store this in a single matri...

11 years ago | 0

Question


Need help with factorizing array of numbers
hi there, say you have an array of numbers x =[94 89 124 120 150] how can i find factors of this array, i mean break each nu...

11 years ago | 2 answers | 0

2

answers

Question


how to delete zeros from a matrix
hi there, say i have a matrix: set1 = 1 3 0 0 1 5 0 0 1 8 0 0 ...

11 years ago | 1 answer | 0

1

answer

Question


How do I turn a nxm matrix into a single array?
hi Matlabers, say I have a matrix [1 2 3 4;5 6 7 8;9 10 11 12; 13 14 15 16] how can I turn this matrix so all the rows...

11 years ago | 2 answers | 0

2

answers

Question


Combinations of different size columns (arrays)
Hi Matlabers, How can I get the combination of two columns with different sizes? ex: Column one [1;2;3;4;5] Column two ...

11 years ago | 2 answers | 0

2

answers

Question


Matrix combining with array in a specific manner
Hello MATLABERS, how do i combine a array of integers with a Matrix of Integers. ex: Matrix A = [1 2 3 4 5 6 7 8 9 10] is c...

12 years ago | 1 answer | 0

1

answer

Question


Matrix Filling
hi MATLABERS, Im stuck at this problem. I want to make a matrix that does the following: say i have the first row of the m...

12 years ago | 1 answer | 0

1

answer

Question


plot grid
Hi there, How do i set the grid so each grid cell increments by one. example x axes => 0:100. when i plot the grid increments ...

12 years ago | 1 answer | 0

1

answer

Question


program timer
hi there, im trying to run part of a program at a specific time. for example. i press F5 and run a program at say 12 noon; th...

12 years ago | 1 answer | 0

1

answer

Question


third party xy label
hi there, i'm to scatter plot X,Y values. if you see the xlsx file i have attached, it has four columnst, X, Y, and H. I have p...

12 years ago | 0 answers | 0

0

answers

Question


ploting horizontal and vertical angles
hi there is there a way to plot two angles in matlab. let me explain. I have measured several target points on a wall using a...

12 years ago | 2 answers | 0

2

answers

Question


put a program on standby
hi there, is there a way i can start a program at a certain time. for example i want a part of a program to start a certain t...

12 years ago | 2 answers | 0

2

answers

Question


Time dependent programs?
is there such a method or a way i can write a program that would loop for a certain TIME instead of a certain number. for examp...

12 years ago | 3 answers | 0

3

answers

Question


add an empty line in the text file
hi there, I'm writing this program where the results are writtten to a text file. i am using: dlmwrite('test.txt',mat, '-appen...

12 years ago | 1 answer | 1

1

answer

Question


Matlab program timer
hello everyone. i want to know if its possible to output the time it took for the program to end successfully? thanks in adv...

12 years ago | 1 answer | 0

1

answer

Question


How to match and two matrix elements and place it under one matrix...let me explain
Ok so I have one matrix A and one matrix B. Matrix A is basically an array 1-10. eg: A = [1 2 3 4 5 6 7 8 9 10]; Matrix B is ...

12 years ago | 3 answers | 0

3

answers