Community Profile

photo

John


Aktiv seit 2012

blank

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


returning output of nested function
Hi there, I have a function nested inside another function. How can I get the main function to return the output of the nest...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to prevent objective function from becoming negative with the linprog solver (i.e minimum should be 0)
Hi there, I am using the linprog solver to find two decision variables (x1 and x2) in order to minimize an objective functio...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to filter data in matlab like in excel
Hi, I have a variable 'data' with 2 columns, time (1-24) and energy consumption. I have a whole year of data. If I only want...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to prevent function output being overwritten in for loop?
Hi there, I have a for loop below which calls the same function "Optimiseenergy" in each iteration. There are 2 outputs from...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


seeking help with a for loop syntax
Hi there, I'm trying to write a simple for loop to simulate how the state of charge of an electric vehicle battery decreases...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


correct syntax for appending number to word in for loop
Hello, I was wondering if somebody could help me with a for loop. In the for loop below, what would be the correct synta...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


creating variable of specified length and same values
Hi, How could I create a 4x1 variable of the value 1.2? For example 1.2 1.2 1.2 1.2

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Dates not being handled correctly in script
Hi there, I'm trying to write a function to import data from a Microsoft access database between two dates. I'm using the da...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Downloading weather (wind speed) data in matlab
Hi there, I am interested in downloading weather data into matlab or setting up at datafeed feed to a website. Specifically ...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


defining simple optimization constraint: When x1 > 0 then x2 has to equal 0
Hi there, I'm working on an optimization problem with 2 decision variables x1 and x2. The problem optimizes the values of x1...

mehr als 10 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Question regarding hydroelectric dam optimization webinar
deleted

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Seeking help creating a double matrix of ones and minus ones
Hello, I'm relatively new to matlab and I'm trying to create a matrix like the example below. But I can't seem to get the co...

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Confusion matrix neural network
Hello, The confusion matrix for my NN for classification is below. I'm struggling to understand the numbers. I know the over...

fast 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


filling in blank cells with nearest number
Hi there, Would anybody be able to help me with some code to 'fill in some data'. I have a column of data with '1's and ...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Spreadsheet link MLGetMatrix function
Hello, I have a question regarding the Spreadsheet Link EX tool. I have been trying to use the code below in a loop in a V...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Question regarding the Spredsheet link EX tool, MLGetMatrix function
Hello, I have a question regarding the Spreadsheet Link EX tool. I have been trying to use the code below in a loop in a...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


quantify difference between discrete distributions
Hello, I am trying to quantify the difference between two discrete distributions. I have been reading online and there seems...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Chi squared test to test if data is from same distribution
Hello, I have recorded some discrete data with an unspecified distribution. I have generated some discrete data from a m...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


creating a hist3() plot with already binned data
Hello, I was wondering if anybody could help me with a relatively simple problem that I have creating a plot. I create a 3D ...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Looping through files and creating and saving plots
Hi, I'm trying to loop through a folder of files (20) to create 20 plots. I have most of the code completed I think, but...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


different cdf plot produced by 2 different code
Hello, I created 2 plots below using the same data but different code. Could anybody explain to me why the cdf plot (red lin...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Problem binning data with histc()
Hello, I am trying to bin velocity and acceleration data using histc(). However, I am getting an error. I would be grateful ...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


matrix dimension mismatch in hist3 plot()
Hi, I am using the code below to create a hist3 plot. My question is, why is the variable z data a 405x605 matrix? I ...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Problem plotting with bar() instead of hist()
Hi, I use this code to overlay a CDf plot on a histogram. Note the histogram data in binned according to bin centers. ...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


intercept of secondary axis
Hi, Im plotting two lines using two axis. They are velocity and acceleration. My question is how can I make the 0 point on t...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Histc function, bin edges error
Hi, I am using the code below to overlay a cdf plot on a histogram (top code). I want to specify the bin edges using the his...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to change text size in boxplot
Hi, Would anybody know how to change the size of the font on the x-axis labels in a boxplot. For example I want to make the l...

etwa 11 Jahre vor | 3 Antworten | 2

3

Antworten

Frage


Property editor grid lines
Hello, Can you make the grid line in a plot thicker in the property editor? I want to make mine more visible but cannot figu...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


matlab code error - Subscript indices must either be real positive integers or logicals.*
Hi, Would anybody know why I am getting the following error after the code below executes a couple of times (about 20 times)...

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden