Community Profile

# gblmtc

Active since 2017

#### Content Feed

View by

Question

Why a script doesn't work by itself and just included in another script?
Hi there! I have this script : fid = uigetfile('*.sp3'); fid=fopen(fid); fmt=[sat repmat('%f ',1,8)]; s...

4 years ago | 1 answer | 0

### 1

Calculating distance between 3 points.
Yes, he wants me to think a function that calculate the both distances. Actually he wants me to figure out how to define xj, yj ...

4 years ago | 0

Question

Calculating distance between 3 points.
Hi there! I have 3 matrix, each one has the first column the X coordinate, the second column the y coordinate and the 3rd col...

4 years ago | 2 answers | 0

### 2

Question

How can I write in MATLAB the D19-12 format?
Hi there! In the text below is used the D19-12 format. I have to use this numbers, they are inputs for my function. My teache...

5 years ago | 0 answers | 0

### 0

Question

How can I correctly use consecutive numbers in a iteration?
Hi there! I have this formula : Ek = mk + e*sin(ek). I know 'mk' and I know 'e'. To find out the value of Ek I have to use...

5 years ago | 1 answer | 0

### 1

Question

Multiple formulas in one function?
Hi there! I have attached 2 pics. There are 7 formulas, the second formula uses the output from the first formula, the third ...

5 years ago | 1 answer | 0

### 1

How can I put 2 functios together in just one function?
function all_one function [tk]= time(t,toe) ti=t-toe; if ti>302400; tk= ti-604800; elseif tk<-3...

5 years ago | 0

How can I put 2 functios together in just one function?
Thanks guys for your help! What I acctualy need to do is to do the calculations from the pics I’ve attached. I did a fun...

5 years ago | 0

Question

How can I put 2 functios together in just one function?
Hi there! I have created 2 functions : function [tk]= time(t,toe) ti=t-toe; if ti>302400; tk= ti-6048...

5 years ago | 4 answers | 0

### 4

Question

How can I correctly use if and elseif?
Hi there! I'm a newbie on the Matlab and I just don't know how to write this function. I have two inputs : t and toe I h...

5 years ago | 2 answers | 0

### 2

Question

putting 3 functions in a single one
Hi there! I've worked on the editor and I have 3 functions( the 2 with "afisare" and "civil.."). Now the teacher asks me to pu...

5 years ago | 0 answers | 0

### 0

Question

Hi! Could somebody tell me why few days ago this code worked and now I tried it again and gives me this error? Thank you!
fmt=['PG10 ' repmat('%f ',1,8)]; fid=fopen('sp3data.txt'); PG10=[]; while ~feof(fid) l=fgetl(fid); % read...

5 years ago | 1 answer | 0