Community Profile

# Tajud Din

7 total contributions since 2018

View details...

Contributions in
View by

Question

Removing zeros from start of an array and inserting them at the end of same array
Let say I have an array A = [ 0 0 0 0 1 2 3 4 5 6 7 8 9 0 0 0 0 ] I would like to know wheter is there any way to move starti...

3 maanden ago | 3 answers | 0

### 3

Question

How to fix iteration of one positive integer in an equation to update automatically in next index?
Following is the code I am using: Batt_Power = 45.5; % kW Power = 108*1000; % kW Journery_Time_Hrs = 0.8; %hrs Batt...

6 maanden ago | 1 answer | 0

### 1

How to get data by using index numbers and store in new array?
Actually I manage to figure it out. Here is solution, thought may be helpful for some others. % idx is an array having in...

7 maanden ago | 0

| accepted

Question

How to get data by using index numbers and store in new array?
I have an array with some zeros and some positive numbers. I already have a code which provide me index numbers of positive da...

7 maanden ago | 1 answer | 0

### 1

Question

Extracting the index numbers of greater than zero values of an array in different / separate sets MATLAB
I have an array of n length. Array has braking energy values. Index numbers represents Time in seconds. Structure of array is a...

7 maanden ago | 2 answers | 0

### 2

Question

dsearchn() Command is slowing down my algorithm, Any better Solution? MATLAB
I am using the following code to calculate altitude. Data = [Distance1',Gradient]; Result = Data(dsearchn(Data(:,1),...

8 maanden ago | 1 answer | 0