Community Profile

photo

Shahab Khan


Last seen: 1 year ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to make the axis labels of a plot BOLD
I am trying to plot some figures. Generally the axis labels of the figure are in standard size font. Now I know that I can make ...

2 years ago | 1 answer | 0

1

answer

Question


How to convert data from txt file to Matlab Arrays
I have a txt file having some data. I have attached it to this question. Below is first line from txt file. 16:14:45.077,X,21...

3 years ago | 1 answer | 0

1

answer

Question


Adding Zero to the first index of an array
I have an array A = [1 2 3 -3 -2 -1 0 0 0] of size 1x9 I am trying to add zero at first index of this array. The result s...

4 years ago | 1 answer | 0

1

answer

Question


Loop for repeating a process multiple times
Hello I am trying to write a loop which can perfrom same calculation for different values. I have variables: E = 100...

4 years ago | 1 answer | 0

1

answer

Question


Writting a loop for calculating difference from previous result of first calculation
I have 4 variables. Initial_value = 50; minimum_Value = 25; difference_value = 5; remaining_value = (Result) I a...

4 years ago | 1 answer | 0

1

answer

Question


Adding two arrays of different sizes together evenly without messing cumulative sum.
I have 2 arrays. A = [0 1 2 3 4 5 6 . . . . n] % Size 2402 x 1, assume in this case n number is 58 B = [18] ...

4 years ago | 2 answers | 0

2

answers

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

5 years ago | 3 answers | 0

3

answers

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

5 years ago | 1 answer | 0

1

answer

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

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 2 answers | 0

2

answers

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

5 years ago | 1 answer | 0

1

answer

Question


How to get data some data from one vector and save it in another vector
I have 2 vector files having 2 columns in each vector. I wrote a code which finds the index number for each vector which needs t...

5 years ago | 1 answer | 0

1

answer