Community Profile

photo

Oday Shahadh


Last seen: 4 months ago Active since 2016

Statistics

All
  • Thankful Level 4
  • First Review
  • First Submission

View badges

Content Feed

View by

Question


ode45 errorI have
I have the following code: %% 22.initial input data vector IDATA=[X0 Y0 Z0 Vx0 Vy0 Vz0]; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

4 months ago | 1 answer | 0

1

answer

Question


collecting mobile sensor data
Hi every body I got the sensor data related with angvellog(m); wich is nx3 matrix, but why I got av=[ ] an empty as well tav al...

2 years ago | 1 answer | 0

1

answer

Question


delay sending data rs232
hello, Can any one help on hpe to delay the (vv) values to be delayed in sending every 2 seconds? clc clear all %s = seria...

2 years ago | 0 answers | 0

0

answers

Question


setting current and volatge for programmble power supply
Hi, I am trying to setting current and voltage on a programmle power suplly via rs232, using the code below, so I succeded to ...

2 years ago | 0 answers | 0

0

answers

Question


GPIB- required steps
HI everybody, I have a programmble supply (instek psh 3610) which I need to controll the output voaltgae via matlab script, can...

2 years ago | 0 answers | 0

0

answers

Question


mutiplots in a single GUI figure
Hi, I have below to plot in a single GUI plot, but at each run I just got single plot, while I need to plot all the three sets ...

3 years ago | 1 answer | 0

1

answer

Question


index exceed matrix dimensions
Hi, every body why I have an index exceed matrix dimesnions in this code, pls help z1=linspace(0,D,1000); z2=linspace(0,...

3 years ago | 1 answer | 0

1

answer

Question


dealy in reading matrix
Hi all, I need some way to read each row of a matrix every real second, pls help Thanks

3 years ago | 0 answers | 0

0

answers

Question


real time span for ode 45
HI Every body, I ahve this ode solver [t,y]=ode45('keplerk',TT0,XXo,options); where TT0 is the time span How can I make ...

3 years ago | 0 answers | 0

0

answers

Question


earth magnetic field model
Happy new year, I am wondering if the world magnetic field results the vectotr (XYZ) in cartesian or east ,north, vertical?

3 years ago | 1 answer | 0

1

answer

Question


extract out values out of loop
Can any one pls help how to extarct [XYZ,H,D,I,F] out of the below loop Thanks for i= 1: length(Hi) [XYZ,H,D,I,F] = w...

3 years ago | 2 answers | 0

2

answers

Answered
vector input to wrldmagm
Thanks ASAD in this case I have to extract the values out of the loop and this is another issue for me

3 years ago | 0

Question


vector input to wrldmagm
Hi All, [XYZ,H,D,I,F] = wrldmagm(height,latitude,longitude,decimalYear) HI I am trying to model the earth magnetic field of ...

3 years ago | 2 answers | 0

2

answers

Question


plot 3 d square
hi this script must plot a square, but i got the attached plot, how to connect all lines? thanks vhat1=[x,repmat(2,length(y),...

4 years ago | 0 answers | 0

0

answers

Question


quiver3 in a loop
hi I have (bbhat ) size(150,3) and (vvhat) size(150,3) both vectors have the same size I tried this: for ii = 1:length(bbh...

4 years ago | 1 answer | 0

1

answer

Question


change columns in array to zeros and assign to another vector
hi I have a (n,3) array, I need to make the first and second coulmns zeros, and assign the resulted array to a new one g=(a{1}...

4 years ago | 1 answer | 0

1

answer

Question


reshape loop resulted cell array
hi, the script below is supposed to result a (n,3) vector, what I got is (180,60) vector, kindley help c1 = cell(numel(a11)...

4 years ago | 1 answer | 0

1

answer

Question


pre allocating vector for loop
Can any one tell how to pre allocate c1? thanks for ii = 1:length(a11); c1=cross(L1(1,:),a11(ii,:)); end

4 years ago | 1 answer | 0

1

answer

Question


create non uniform increment vector
hi how can I in a single command creat this vector: a=12345678910987654321 thanks

4 years ago | 2 answers | 0

2

answers

Question


cross product of by an array
I have (a )which is an array as below: a = a{1} = [185x3 double] a{2} = [185x3 double] a{3} = [185x3 double] ...

4 years ago | 1 answer | 0

1

answer

Question


grouping rows and store is separate matrix
hi all, in the script below I have p which is (m,3) vectors matrix, Itried to group this matrix according to z-value in L1 vect...

4 years ago | 1 answer | 0

1

answer

Question


pre allocating triple loops
hi, how to pre-allocate this: for ii = 1:numel(L); for jj=1:numel(L); for kk=1:45; c=cross(L1(ii,...

4 years ago | 1 answer | 0

1

answer

Question


selecting first row in cell array
hi all, I have below, how can I select first row in a(1) thanks a = [185x3 double] [185x3 double] [185x3 do...

4 years ago | 1 answer | 0

1

answer

Question


row filtering and pre-allocate
hi all, here p is (1,3) vector,: how can I preallocate a. how can store each filtered rows in a seperate matrix. Regards ...

4 years ago | 1 answer | 0

1

answer

Question


plot3 out of loop
Can you please fix empty plot in below script clear close all format long theta=0:10:360; rho=0:.5:2; L=-2:0.5:2; X= cel...

4 years ago | 2 answers | 0

2

answers

Question


pol2cart in loop and pre-allocating
hi all, how can I put [x,y,z]=pol2cart(theta,rho,z), in tripple loop for different values of heta,rho,z, as well how to pre all...

4 years ago | 2 answers | 0

2

answers

Question


comparing and cross product
hi guys, why c in below return with one coulmn, it supposed to return (x,y,z,) vector? regards c=zeros[]; for i=1:leng...

4 years ago | 1 answer | 0

1

answer

Question


grouping vectors based on z value
Hi guys, If I have how array of vectors a(xi,to,zi) and b(xj,y2k,zj), I want to extract a new group based on the condition zi...

4 years ago | 0 answers | 0

0

answers

Question


cross product for multi concentric vector (cylindrical coordinates)
Hi Guys, I have created multi vectors in cylindrical coordinates, as seen in the attached images, I need to make a cross produc...

4 years ago | 0 answers | 0

0

answers

Answered
extract data from a loop
Hi Guys, Is there any way to accept all your answers? you all great, really appreciated

4 years ago | 0

Load more