Community Profile

# Frederik Bjerregaard

Last seen: 11 months ago Active since 2020

#### Content Feed

View by

Question

Decide values of row in matrix for certain row intervals
Hi I need to create a matrix where each row has the values of [1,0,0,0] over certain intervals as given below rows=150001;wind...

11 months ago | 2 answers | 0

### 2

Question

Divide each column by a constant from a vector
I have a matrix A that has the format 150000x8 and a vector B of the format 1x8. I want to create a function that divide every v...

11 months ago | 1 answer | 0

### 1

Question

How to add values into specific part of a zero vector
Hi I want to create a vector that have the value of 1 in specific intervals and 0 everywhere else. This is the code I have com...

11 months ago | 1 answer | 0

### 1

Question

Plotting different datasets from looped ode45 using subplots.
Hi. I have a script where I'm solving and ode for different values of a parameter. I want to plot each of these cases on a seper...

1 year ago | 1 answer | 0

### 1

Question

Solving a nonlinear equation
Hi. I have to solve a nonlinear equation over a range of values of a given parameter. clc; clear;close all; f = 0.35+0....

1 year ago | 1 answer | 0

### 1

Question

Extracting a data vector from a looped ode45
Hi. I have a problem where i have to solve a system of equations numerically. I want to plot the maximum value for each result I...

1 year ago | 1 answer | 0

### 1

Question

Returning several dataset using ode45
Hi. I have a problem where I want an ode45 function to return 5 dataset using the code clc; clear; close all; % Defining param...

1 year ago | 1 answer | 0

### 1

Question

Fixing error while evaluating callback for GUI
I am trying to build a GUI for this Optimisation file Opti_final.m %Initialisation--------------------------------------- ...

3 years ago | 1 answer | 0