# Henry Buck

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**45** Questions

**0** Answers

RANK**21,473**

of 294,641

REPUTATION**2**

CONTRIBUTIONS

**45** Questions

**0** Answers

ANSWER ACCEPTANCE **
40.0%
**

VOTES RECEIVED**2**

RANK

of 20,133

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 152,147

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

How to simulate real MOSFET in simulink ?

Hi there, While I'm using MOSFET component from simulink, it has its own parameters as attached (Mosfet parameters.jpg). Con...

6 years ago | 1 answer | 0

### 1

answerQuestion

How to add_block Sum of Elements instead of Sum block ?

Hi, By using this lines Sum block is created: Add_sum=add_block('built-in/Sum', [mdl,'/sum_elem']); posg = get(Add_sum...

7 years ago | 0 answers | 0

### 0

answersQuestion

Is anyone can solve a programmable matlab code for connections in Simulink ?

Hi, I am adding a small script that create figure Dmux_2_tag(attached): no_cells = 8; AddGoto1=zeros(no_cells,1); PH...

7 years ago | 0 answers | 0

### 0

answersQuestion

How to convert unstable stairs input signal to a fix stairs signal ?

Hi, My system design create a stairs wave signal, but it has to be a clean fix stairs signal. I adding print screen of that ...

8 years ago | 0 answers | 0

### 0

answersQuestion

Can someone help me to solve how to use hit crossing block ?

Hi, How can I use hit crosing block ? I have kind of a sine wave signal and I want to find it's max and min values by using H...

8 years ago | 0 answers | 0

### 0

answersQuestion

How to create toggle(signal that goes from zero to one according to peaks) bit from both peaks(max value and min value) of analog signal ?

Hi, I create kind a sine wave signals(VPx and VPn) as shown if the file PDf attached. I want to get an logic signal accord...

8 years ago | 1 answer | 0

### 1

answerQuestion

Help on converting dubble to uint8 ?

Hey, I have wave signal that change between 2-20 and it's type of dubble. I need to convert it to type uint8, for example: ...

8 years ago | 1 answer | 0

### 1

answerQuestion

rewrite my loop - whats wrong with that loop ?

Hi, I did rewrite my code - matlab functionas you can see below: _if(dir1==1) if(I1>0) ...

8 years ago | 1 answer | 0

### 1

answerQuestion

whats wrong with that loop ?

Hi, I wrote loop in matlab function (here is part of it): for k=1:ADDR if(I>0) ...

8 years ago | 0 answers | 0

### 0

answersQuestion

whats wrong with that loop ?

Hi, I wrote loop in matlab function (here is part of it): for k=1:ADDR if(I>0) ...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to improve simulation and preventing crashdown simulation ?

Hi, I am using a Transport Delay component in my design. While I am running simulation in Simulink, an error occurs and...

8 years ago | 0 answers | 0

### 0

answersQuestion

How to solve simulation error relate to memory alocation size ?

Hi there, While I am run my simulation for a periode time and want to open the scope Simulation signals. I got an error messa...

8 years ago | 1 answer | 0

### 1

answerQuestion

how to change the values of Capacitors in a global way ?

Hi, If I want to chage the values of 20 capacitors in a simple way, how to do it ? For example: 20 capacitors are in few le...

8 years ago | 0 answers | 0

### 0

answersQuestion

How to write case in simple way ?

Hi, Is there a simple/short way to write switch case ? instead : case {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,2...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to write register/array into Simulink simple port RAM ?

Hi, I have a block, inside it there is a Register. That Register is also an output from that block. I want to write Regis...

8 years ago | 0 answers | 0

### 0

answersQuestion

Invert bit vector ?

Hi, I wonder how to make invert bit vector ? *For example:* I have A vector: A=[0 1 0 1 0 1 0 1 0 1 0 1 1 ...

8 years ago | 1 answer | 0

### 1

answerQuestion

How to open simulink file after restart my computer ?

Hi, I got an error while trying to open simulink file: " error using open (line 162) file 'C:\new MMC 21 Level\MMC_21_l...

8 years ago | 0 answers | 0

### 0

answersQuestion

how to convert file.m into block in Simulink ?

hi, I wrote a function that produce 40 binary bits vector according to another 20 bits vector. In Matlab it works ok. I ...

8 years ago | 2 answers | 0

### 2

answersQuestion

how to create bit vector depending on another bit vector ?

hi, I have 20 bits in a vector (binary bits): for example, start from: TMP_reg = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

8 years ago | 1 answer | 0

### 1

answerQuestion

how to define a register depending on inputs ?

Hi, I want to define a register(10 bits for example) or variable that depends on some inputs. One of the inputs is changing ...

8 years ago | 0 answers | 0

### 0

answersQuestion

how to sample sine wave into RAM ?

Hi, Iwant to sample a sine wave into Single Port RAM or Dual Port RAM but I got a error message: " Data type mismatch. I...

8 years ago | 1 answer | 0

### 1

answerQuestion

Simulink compilation errors ?

hi, I got this error from Simulink: Inferred size ('[1 20]') for data 'gate_h' (#164) does not match back propagated size ('[...

8 years ago | 0 answers | 0

### 0

answersQuestion

Error from comand line

Hi, when Iam using script like: h = find_system(mdl,'FindAll','on','Name','Positive Arm A'); no_cells = 10; set(h,'no...

8 years ago | 0 answers | 0

### 0

answersQuestion

Block Diagram to simulink

Hi, I have some documents with block diagram and some equations - in details... Is there a chance to get help to convert them ...

8 years ago | 0 answers | 0

### 0

answersQuestion

Using Derivates in simulink

Hi, Is there any functin block doing deriviate in simulink ? I saw there is only du/dt as a numerical. Is there a way to do...

8 years ago | 1 answer | 0

### 1

answerQuestion

How create enable signal ?

Hi, I want to second signal that depend on first signal like an enable signal. There is a counter that running while the fir...

9 years ago | 1 answer | 0

### 1

answerQuestion

how to control the start of sine wave ?

Hi, When I use a sine wave it start automatically. Is there anyway to control it - the time when it will be start ? Than...

9 years ago | 0 answers | 0

### 0

answersQuestion

What wrong with that counter ?

function [wr,count] = wr_blk(rst,clk,sig) %#codegen count = 0; if (rst==0) wr=0; else if((sig==1...

9 years ago | 0 answers | 0

### 0

answersQuestion

errors in MATLAB/simulink while using logic analyzer

Hi, I using logic analyzer in a simple design and I got some errors: for example: >> Logic_Anlzr_pwm1 Warning: M...

9 years ago | 1 answer | 0

### 1

answerQuestion

compering sinewave with triangle wave using comperator ?

Hi, How to connect sine wave and triangle wave to comperator to get PWM wave ? Thanks, Henry

9 years ago | 0 answers | 0