Community Profile

photo

FG


Last seen: 4 månader ago Active since 2020

Statistics

All
  • Thankful Level 2
  • Solver
  • Thankful Level 3

View badges

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

mer än ett år 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...

ungefär 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år 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....

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 2 answers | 0

2

answers

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

mer än 3 år ago | 1 answer | 0

1

answer

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

mer än 3 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


Savig a workspace file..
Hi all.. I have a multiple input scope data containing voltages, currents and powers saved in the workspace. When I try to plot...

ungefär 4 år ago | 1 answer | 0

1

answer