photo

Lewis Waswa


Last seen: 5 months ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Setting up an optimization in matlab
Hi everyone. I have an optimization problem that seeks to aid the selection of suitable conductors in a network planning exerci...

7 months ago | 1 answer | 0

1

answer

Question


iterating a function within itself
Hey everyone. I have a function which performs adjustment based on 2 indices NPI and CPI as shown below. [A,B,C,D,NPI,CPI]=Adj...

1 year ago | 2 answers | 0

2

answers

Question


Calling a function in itself.
I have a long code that uses two indices to update the resistance values in a powerflow program as below. The powerflow program ...

1 year ago | 1 answer | 0

1

answer

Question


Editing a graph.
I have a graph with about 115 nodes, all differently interconnected. I would like to do two things: Plot the directed graph il...

1 year ago | 1 answer | 0

1

answer

Question


Plotting a figure from a matrix
I have the following matrix, which describe the connection between nodes on a network. How can I plot this in Matlab? A=[1 2; 2...

1 year ago | 2 answers | 0

2

answers

Question


Calculating the new beta parameters given two variables
I have two beta distributed random variables with parameters, mu1, alpha1 and beta1 and mu2, alpha2, beta2 for variables A and ...

2 years ago | 1 answer | 0

1

answer

Question


Implementing parallel while loops in matlab.
Hi all, I am writing code that has two while loops in a random sampling exercise. I have two questions. I would like the whil...

2 years ago | 0 answers | 0

0

answers

Question


Fillmissing function with movmean
I have a set of data with NaNs. So I filled the NaNs useing the fillmissing function. However, while the final array does not ha...

2 years ago | 1 answer | 0

1

answer

Question


Time subscripting, selection of weekdays and weekends from a timetable
Hi guys. I have had this problem for a while now. I have a timetable consisting of timeseries yearly data resolved at 30 minute...

2 years ago | 1 answer | 0

1

answer

Question


Creating a datetime variable - unconventionally
I have an excel sheet which has several columns including a date column of which I would like to create a datetime object from....

2 years ago | 3 answers | 0

3

answers

Question


Selecting Mondays from a Timetable or Table using the datetime object
Hi, I would like to write a script that scrolls through my five minutes resolved timetable / table to select identifies all the...

2 years ago | 1 answer | 0

1

answer

Question


Reshaping a 2D Timetable to a 3 D timetable
Hi everyone I have five minutes resolution timetable with 20 entries which makes the whole TT to be of the dimensions 17596 by...

2 years ago | 1 answer | 0

1

answer

Question


How to specify a stop criterion in an if loop.
I have two files named TData (j) (technical Data) and RData (i) in an array format. I also have a file NFile (i), which is suppo...

3 years ago | 1 answer | 0

1

answer

Question


While loop and comparisons
Hi guys, I have 2 files - file 1 (length n) is a list of conductor resistances from which I am supposed to pick an optimal re...

3 years ago | 0 answers | 0

0

answers

Question


Getting a number of different outputs using a single function
Hi everyone. I have created a function that can iteratively generate more sets of data from a smaller set of data through a ra...

3 years ago | 1 answer | 0

1

answer