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 ...

12 days ago | 1 answer | 0

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,...

17 days ago | 1 answer | 0

Question

dealy in reading matrix

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

1 month ago | 0 answers | 0

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 ...

1 month ago | 0 answers | 0

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?

2 months ago | 1 answer | 0

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...

2 months ago | 2 answers | 0

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

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

2 months 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 ...

2 months ago | 2 answers | 0

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),...

8 months ago | 0 answers | 0

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...

8 months ago | 1 answer | 0

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}...

8 months ago | 1 answer | 0

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)...

8 months ago | 1 answer | 0

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

9 months ago | 1 answer | 0

Question

create non uniform increment vector

hi how can I in a single command creat this vector: a=12345678910987654321 thanks

9 months ago | 2 answers | 0

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] ...

9 months ago | 1 answer | 0

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...

9 months ago | 1 answer | 0

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,...

9 months ago | 1 answer | 0

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...

9 months ago | 1 answer | 0

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 ...

9 months ago | 1 answer | 0

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...

9 months ago | 2 answers | 0

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...

9 months ago | 2 answers | 0

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...

9 months ago | 1 answer | 0

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...

9 months ago | 0 answers | 0

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...

9 months ago | 0 answers | 0

Answered

extract data from a loop

Hi Guys, Is there any way to accept all your answers? you all great, really appreciated

extract data from a loop

Hi Guys, Is there any way to accept all your answers? you all great, really appreciated

9 months ago | 0

Question

extract data from a loop

Hi Guys, Can any body help on how extract and plot data from this? clc clear close all format long mu0=4*pi*10^-7; R=0....

9 months ago | 4 answers | 0

Question

second order deferential equation ode45

Hi, Can any one please guid how to solve the below equation using ode45, knowing that C is constant Regards

1 year ago | 0 answers | 0

Question

solving equation with ode5

Hi, Can you please guid me how to solve this equation by ode45 omegadot=(-(Js-Jt).*w2.*COMEGA)./Jt;

1 year ago | 0 answers | 0

Question

run matlab plot command in excel

Hi every body, I have built a huge matlab script wich has about 100 plot, I need to controll selecting plotting between any two...

2 years ago | 0 answers | 0

Question

Rectangular high detailed world map

Hi everybody, Can I ask your kind assistanse to creat a rectangular world map with high details Thanks in advance

2 years ago | 0 answers | 0