Community Profile # Willim

Last seen: 9 dagar ago Active since 2018

#### Statistics

• • • • #### Content Feed

View by

Question

How can I change a parameter in my simulation in the after sometime of the run time ?
I have simulation model that will be run for 5 sec. I want to run my simulation for 3 sec, then change some parameters in my mod...

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

### 1

Question

How can I implement the following blocks and code in function block ?
I would use the following integral equation as function block in my simulation. I know I can do it as what I attached but I need...

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

### 1

Question

How to create initialize block on SIMULINK model corresponding with M-file
It is a block that is just show there is a file need to be run for the simulation. As shown in the picture This picture sh...

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

### 1

Question

How to repshape array to matrix with different length of each row ?
Lets assume we have array M with size 1*100 M= [1 2 3 4 5 6 7 8 9 0 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 9 2 ....] I need to repha...

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

### 1

Question

USing BVP solver to solve 2-D Laplace’s equation?
I have confusion about how to use the bvp solver to solve the 2-D Laplace’s equation (∇2u=∂2u∂x2+∂2u∂y2=0) with in a boundary (r...

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

### 1

Question

Intergrate a array over Tb?
If I have x=[0.2 1 0.485 0.13 0.11] , I have Tb=10ms and the fs=16*fb; %Sampling frequency Ts=1/fs; I would...

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

### 1

Question

encoding NRZ polar as square wave ?
Hello I have tried to encode my binary information over specific interval in time fb= 1e3; % the channel da...

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

### 1

Question

spectral density for an array ?
I have an array x = [ 4 5 5 6 4 2 6 7 4] , i would like to use fft to find the spectral density for x ? is there anyway to fin...

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

### 1

Question

Multiply and shift ?
I would like to have a code that can generate the maltiplication for x after shifting them many time x=[1 2 4 1 3 4 5 1 3] I ...

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

### 1

Question

I have array with different length I would put them in one matrix
I have different length arrays such as t1=[1 2 1 2 3 4]; t2=[2 4 5 5 2 2 434 3 4 32 3 2]; t3= [3 4 5 2 1 1 1 2 3 4 4 4 44...

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

### 1

Question

I would add one variable inside function
I have x(t) and I would to create x(t+ta) by matlab code. For example if I have x(t)= 2t+3 , I need to create x(t+ta)= 2t+2ta+...

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

### 2

Question

How Can I count the ascending runs in array ?
if I have an array such as x=[1 2 3 2 1 2 4 5] I would generate a binary array for binary search binaryarray= [1 1 1 0 0 1 ...

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

### 1

Question

Error in function ?
when I run it I got the following error Undefined function or variable 'TBack'. Error in interp (line 18) TBack; Erro...

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

### 1

Question

Extract the index and find the value in other array that have the same extracted index?
I have many arrays but in my question I'll minimize it to be understood for you. if I have t1=[ 1.0000 1.1000 1.2000 ...

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

### 1

Question

Repalce zero element by the number before it ?
If I have array called N, N = [2 0 7 0 9 10 0 0 11 0 0 ]; I want to create new array M t...

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

### 3

Question

Undefined function or variable 'Ybus' error ?
I am trying to run the load flow for 50buses. I have inserted the all parameters in the model but when I run the load flow I hav...

nästan 4 år ago | 1 answer | 1

### 1

why load flows are not converging for ieee 39 bus system in matlab simulink? (with syn. machines)
I have same problem , any help ?

nästan 4 år ago | 0