Community Profile

photo

Lewis Waswa


Last seen: 1 giorno fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

8 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

8 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

10 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

10 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

oltre un anno fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta