Community Profile

# FG

Last seen: 2 maanden ago Active since 2020

All

#### Content Feed

View by

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

4 maanden ago

Question

Data Inspector Run Names
Hi all.. I have a code running a model for a certain repeat. Simulation outputs several mat files according to the change of var...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

Error Message during execution
My Code is; Ave3ON = zeros(size(S)); Ave5ON = zeros(size(S)); Ave7ON = zeros(size(S)); AvethdON = zeros(size(S)); Ave3OFF =...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Assigning a variable according to file name..
I want the variable to be changed according to the file name.. Like; Simulation File 1 Track 2 Simulation File 1 Track 4 Simu...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

Mean between an interval
I want to calculate the mean between a time interval that depends on a variable like P ; F=[1 10 2 4 6 8]; for q=1:length(F); ...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

How to associate a variable according to the .mat file name
Hi all.. I wanna know if I could associate a variable according to a file name.. ? Example: Mat File Names are: Load 1 Q 1 Nt1...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

ongeveer 2 jaar ago

Question

Save a string consisting of data to another directory
I want to save a string consisting data to another directory.. c = sprintf('Power Factor=%.2f, PL=%g, FG=%g, Angle=%g, Nt=%g....

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Sorting a fields alignment of a structure
Hi all.. I want to sort a structure containing some fields according to '' My Will''.. I mean I wanna arrange it as I like it. F...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Mean of a field of a struct
As seen in image below, I have a struct of 5 fields. I need to compute the avarege of the HV3, HV5, HV7 and thd in 1st row, then...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

How to modify this script
I have an M file as shown in the figure. What I want to do is; Instead of naming the cases like: 1111, 1112,1113...3452, 3453, 3...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Field of a structure
As Stephen Cobeldick helped me yesterday, I have a structure T consisting of 4 fields. I want to calculate the mean of each fiel...

ongeveer 2 jaar ago | 2 answers | 0

### 2

Question

Writing a Script..
Hi all.. I have a bunch of mat files consisting of 25 types data each inside. I am interested in only 4 of them. They also are i...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How to extract data from .mat files
Hi all.. I have simulated an xls file and ran it through the editor. As a result I have many cases consisting of 200 .mat files....

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

Run a simulation repeatedly for certain times..
Hi all.. I want to run a simulation repeatedly for certain times with different parameters at each. I have a code as an m file a...

meer dan 2 jaar ago | 1 answer | 0