Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

ungefär 4 år ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

ungefär 4 år ago

Question


How do I plot time intervals in weekdays?
I need to spread time intervals in 24h scale and plot them in each week days? How do I do it? So, the idea is to see how people ...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to find four most repeated time ntervals?
In my dataset of car travels, starting time, ending time and value per each interval is given. How to find the most repeated fou...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to find the most frequently repeated time interval?
Matlab warrior! In the data travels, there is a column with start and end time. Each interval has certain value or zero. I have ...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to plot two data set with two different durations in the same plot?
I have two datasets of electric load created by EVs, but each has different ending times, but the values remain the same. So sec...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to speed of execution in my code?
I have a code to plot about million entries, and with my code it's taking too long time. I don't how to improve speed up the exe...

ungefär 4 år ago | 1 answer | 0

1

answer

Question


How to substract time from another time after midnight?
So I have start time and end time of trip (in string) in my data, but sometimes end time exceeds midnight, for example: start_t...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to calculate max multiplication possibility of three adjacent numbers in 10*10 matrix?
I have a matrix of 10 to 10 size of random digits from 0 to 9. How to calculate possible max multiplication of three adjacent nu...

mer än 4 år ago | 2 answers | 0

2

answers

Question


How to spread daily traffic over the week days?
With below code, I am generating graph where average daily traffic of cars with geven time of the day.I also have name of the da...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How do I plot by categroy group?
I am trying to generate graph of traffic by each occupation group of car users. So far, I can produce overall traffic with the c...

mer än 4 år ago | 1 answer | 0

1

answer

Question


How to calculate distance till the next possible stop?
Is there any formula or ways to calculate distance between current parking place and next possible parking with given data of al...

mer än 4 år ago | 1 answer | 0

1

answer

Answered
How to use for or while loop for certain range?
binary_pattern = zeros(100,1); binary_pattern(1:25) = 1; binary_pattern(50:75) = 1; binary_pattern(90:100) = 1; % to create b...

mer än 4 år ago | 0

| accepted

Question


How to use for or while loop for certain range?
I want to add or substract a certain number to my array cell (result(i)) based on corresponding binary(0 or 1) pattern I have . ...

mer än 4 år ago | 2 answers | 0

2

answers

Question


How to calculate cumulative sum based on pattern in Matlab?
I am trying to simulate battery level of electric car (EV) based on driving and parking patterns from dataset table. Basically,...

mer än 4 år ago | 1 answer | 0

1

answer