# Nikolaos Zafirakis

**Statistics**

**MATLAB Answers**

**29** Questions

**0** Answers

RANK**29 092**

of 265 176

REPUTATION**1**

CONTRIBUTIONS

**29** Questions

**0** Answers

ANSWER ACCEPTANCE **
24.14%
**

VOTES RECEIVED**1**

RANK

of 18 114

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116 275

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Unwrap function not operating correctly

B = (:,1:3); C = (:,4); % Group packets restart at 0 and finish at a specific number group = cumsum(C == 0) + double(...

environ 3 ans ago | 0 answers | 0

### 0

answersQuestion

ASAP NEED HELP Unwrap

I have 1000 measurements which have been wrapped to 30000 and unwrapped they should be 60000. In order to this I am applying the...

environ 3 ans ago | 0 answers | 0

### 0

answersQuestion

How to create subplots in an animation

I’m creating two graphs as animations. I want to take both and plot a single graph such that when the animation plays, they are ...

environ 3 ans ago | 0 answers | 0

### 0

answersQuestion

New function tiledlayout problems

I'm trying to use this new function tiledlayout however every time I use it, I get errors described in the code. Does anyone kno...

environ 3 ans ago | 2 answers | 1

### 2

answersQuestion

Plotting an image over a figure

I'm trying to create a Ground track for a satellite I'm facing two issues: (1) My ground track makes a coonection at the end ...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Axes configuration such that two 3D figures axes are aligned

My main I want to align the x-axis (blue line) with the z-axis of the complex shape seen in the figure. Such that when the s...

environ 3 ans ago | 0 answers | 0

### 0

answersQuestion

Visualization of Euler angles

I currently have a set of Euler Angles and I want to visualize what happened to the object in a simple animation. I have no clue...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Creating a box with a pole pointing according to Euler angles and position vectors

Hello, thanks in advance, I have some Euler angles in body frame and some position vectors in ECI. As you can see below, I hav...

environ 3 ans ago | 0 answers | 0

### 0

answersQuestion

interp1 measurements drifting

I have some original data plotted below and I need to interpolate it with my other set of measurements. However whenever I run m...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Manipulation of multiple cell arrays

I have two questions one to improve my code and the other to perform an operation. I have a series of cell arrays and they are d...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Putting the result from eval into a cell array

Got the piece of code below. Basically, when I run it I get x_1 all the way to x_600 so i get 600 outputs I would like to put al...

environ 3 ans ago | 2 answers | 0

### 2

answersQuestion

Isolating and running a piece of code separately from the rest

So, I have a piece of simple code below. I want to isolate all the different groups relative to the measurements thus A relative...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Store the values of matrix within a for loop and perform a series of calculations

A = (1:100,1) B = (1:100,1) C = (1:100,1:3) for ind = 1:length(la) Z2(:,:,ind) = [cos(A(ind,:)) 0 -sin(A(ind,:));0 1 0;s...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Error in a for loop

I’m trying to run a loop through some measurement but I keep getting this error "Unable to perform assignment because the size o...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

Understanding the if command

o = B(1:50,2); a1 = diff(o); [c1,d1] = find(a1>2^15); [e1,f1] = find(a1<-2^15); if c1 > 0; o(c1+1:e1) = o(c1+1:e1)-2^...

environ 3 ans ago | 1 answer | 0

### 1

answerQuestion

How to Overwrite Data

The main objective is to overwrite the maximum values in matrix B with the values collected in matrix A So I have: A = (1:100,...

environ 3 ans ago | 3 answers | 0

### 3

answersQuestion

How to run through many variables at a different set of times continuously?

There are 200 O's and each O lasts 100 minutes, so I need to run the simulation for t=20000 minutes and then every 100 minutes I...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Computing the correct output from an if function

My code keeps showing an error. So the statement X_dot needs to start calculating from the second point in my measurements. so I...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Calculating the difference between a vector and time

I'm looking for a way to get this loop to work, basically I need to calculate the difference in a 3x1 vector divide by the diffe...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

How to caculate a value for a step - the previous step

So, I have a value x and i want a piece of code which would allow me to take x_current - x_one_step_previously for example at i...

plus de 3 ans ago | 2 answers | 0

### 2

answersQuestion

A for loop need help ASAP

I have a loop and I want to collect the output? A are arrays 0:300 for i = 0:3:300 Fi = atan(-(A5(1,1+i)/A5(1,2+i))); Theta ...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Collecting for loop output

I have a loop and I want to collect the output? A are arrays 0:300 for i = 0:3:300 Fi = atan(-(A5(1,1+i)/A5(1,2+i))); Theta ...

plus de 3 ans ago | 0 answers | 0

### 0

answersQuestion

for loop collecting output

F is giving me the same measurements and I can’t seem to find how to move to the next position. A = (:,:,1) % There are 100 ...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Matrix indexing collecting accurate results

I have a for loop and some challenging mathematical equations my goal is to get a 3x3 matrix where A is preferable I would like ...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Error using the igrfmagn function (collecting the output)

I can’t seem to collect the values produced by the function igrfmagm. The error produced says ‘Error using cell Too many output ...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Collecting the outputs of a function within a for loop

I’ve got a function within a for loop and I want to collect the output variables of the function. Currently, the outputs A, B, C...

plus de 3 ans ago | 1 answer | 0

### 1

answerQuestion

Issues in Matrix multiplication

I have 100 6 by 6 matrices and 100 6 by 1 matrices and I want to multiply them. If I do X=A.*B it does not give me the correct s...

plus de 3 ans ago | 2 answers | 0

### 2

answersQuestion

Derivative of a vector

I have a vector 3x1 which I multiply by a 3x3 matrix and get a solution (this is all done in a function). I take the resulting 3...

plus de 3 ans ago | 2 answers | 0

### 2

answersQuestion

set some values to zero in a matrix

Hello, I have a 6x20000 matrix. I would like make the 3 smalest values on each row equal to zero. For example if I have: [ 1, 1...

plus de 3 ans ago | 1 answer | 0