# Life is Wonderful

**Professional Interests:**

**Statistics**

RANK**185,064**

of 271,451

REPUTATION**0**

CONTRIBUTIONS

**65** Questions

**9** Answers

ANSWER ACCEPTANCE **
73.85%
**

VOTES RECEIVED**0**

RANK**14,738** of 18,304

REPUTATION**8**

AVERAGE RATING**0.00**

CONTRIBUTIONS**1** File

DOWNLOADS **3**

ALL TIME DOWNLOADS**74**

RANK

of 119,953

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

**Content Feed**

In order to code HDL, how to avoid using break statements in loops

I think i have the solution , x = 1:5; eps = 5; y = zeros(1,1); fprintf('%10s|%10s|\n----------+----------+\n','n','y(n)'); ...

23 days ago | 0

| accepted

Question

In order to code HDL, how to avoid using break statements in loops

Since I'm seeking for HDL code that doesn't allow the break, continue statement, I need help with the following code logic to st...

23 days ago | 1 answer | 0

### 1

answerQuestion

Error observed in using bitsll and bitsra

When utilizing bitsll and bitsra, an error was noticed. I have the following code and intend to utilize Embedded.fi [fixed p...

2 months ago | 0 answers | 0

### 0

answersQuestion

Incorrect non restoring division for unsigned integers !!

Hi there, For unsigned integer values, I am attempting to construct a non-restoring division algorithm, but it appears that I...

3 months ago | 0 answers | 0

### 0

answersQuestion

increase factorial execution speed

Hello there I'm attempting to use the prod function to construct the factorial code more quickly, but I'm encountering a prob...

3 months ago | 1 answer | 0

### 1

answerHow to use coder.unroll in a while loop

So a coder.Unroll should be supplied from outside rather than during runtime. Division consumes many cycles, and the number ...

4 months ago | 0

Question

How to use coder.unroll in a while loop

Hi I'm looking for a sample code of how to use "coder. unroll" in a while loop. I intend to perform a division operation and wa...

4 months ago | 1 answer | 0

### 1

answerQuestion

Confusion between real-world and floating-point values

Hello there, I'm converting floating to real-world data values with the code snippet below. I notice that after scaling, float...

4 months ago | 1 answer | 0

### 1

answerQuestion

syntax cellstr Error when using double as input argument

Hi there, Octave does work correctly . n = 4; class(n) ans = double cellstr(n) ans = { [1,1] = } I run the followi...

5 months ago | 2 answers | 0

### 2

answersQuestion

Math equation for MFCC bit rate

Hi there, What kind of equation must I create before arriving at the bit rate calculation if I must perform MFCC math calcula...

5 months ago | 1 answer | 0

### 1

answerQuestion

audio codec performance measurement DAQ

I'm seeking for a Mathworks tool or interface that supports audio codec performance. SNR, Total harmonic distortion, cross-talk...

7 months ago | 1 answer | 0

### 1

answerQuestion

Error : Constant Operands

Hi Iam implementing following code as show below m = 10; v = [1 1 2 : m] If I try to make fixed point , I am getting the e...

9 months ago | 2 answers | 0

### 2

answersQuestion

How to write cumulative product function

Hi I am trying to implement cumproduct without using built-in function. Below is my test code . I need help to implement "M...

9 months ago | 1 answer | 0

### 1

answerQuestion

Substitute C operator in matlab like divide, multiply, OR ,AND

Hi I am looking for matlab operator which is equivalent to <<= , >>= , ^= , &=, |= which is used in C Thank you!!

9 months ago | 1 answer | 0

### 1

answerQuestion

Algorithm for Fractional power calculation

Hi 1. fractional base is no problem with current implementation. 2. To support fractional exponents, get the n-th root for ...

9 months ago | 1 answer | 0

### 1

answerQuestion

How to add function argument for nthroot() ?

Hi I want to calculate nthroot() for 'embedded.fi', following is the code. I don't understand , how to fix rem(n(:),2) ? / ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Derive base 10 logarithm from base 2 log output

Hi I am looking to calculate . log10 with base2log as input.i.e. log10(log2()) log() with base2log as input i.e. log(log2()...

1 year ago | 1 answer | 0

### 1

answerWhich is the best way to replace the typedefs of rtwtypes.h with the ones defined in my firmware?

You can have one of the following approach to get rid of rtwtypes.h Use standard ANSI complaint #include <stdint.h> and #inclu...

1 year ago | 0

Question

Error in fi divide for embedded fi object

Hi I am trying to make a fixed point calculation with below code. But I run into error , I don't understand what is wrong in m...

1 year ago | 1 answer | 0

### 1

answerQuestion

Stop Bit growth for power computation

Hi I am in need a logic to check bit growth in case of word length is 32 /16/8-bit I am using following code to check bit ...

1 year ago | 2 answers | 0

### 2

answersQuestion

How to plot multiple Loops and draw data lables for legend

Hi I want to plot return value C and add legend according to iteration for below code A = [1:4]; B = [1:4]; C = zeros(siz...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to range array steps

Hi I am looking for a logic to range of value from -1 to +1 including 0 where data should look like -1-2-3...-32 : +32+31..1 ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Check range for power function

I am looking for a unit test vectors which checks the range of input values for power function so that I can implement equivalen...

1 year ago | 1 answer | 0

### 1

answerQuestion

File streaming using Nodejs

Goal With Nodejs support , the file should be streamed via the body Section -1 Accept a HTTP POST request which will cont...

1 year ago | 1 answer | 0

### 1

answerQuestion

Parallel processing remote and server logs collection / scp

I would like to stream a file using HTTP endpoint / scp so that I can collect the logs from a remote server. Is there a way ,...

1 year ago | 0 answers | 0

### 0

answersQuestion

Convert a Complex Number to exponential real

Hi I am looking for help to calculate value of a complex number say x = 2 +1j*5 using exponential function Thanks you

1 year ago | 2 answers | 0

### 2

answersQuestion

convert complex number to Integers

I have a exponential function and cordic exponential function. I see a differenc in output for exponential and cordic exp func ...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to create Trignometric function lookup table

Hi I need help to create a lookup table for twiddle factor generated by trignometric cosine and sine function ? Thanks

1 year ago | 0 answers | 0

### 0

answersQuestion

colon expression to use integer operands

The following code does not work because the colon operands are not integer values stepSize = (pi/512); thRadDbl = (0:stepSize...

2 years ago | 3 answers | 0

### 3

answersQuestion

Integers can only be raised to positive integral powers in db2mag computation

I am converting matlab code to c using fixed point coder app I am getting the below error Input to function db2mag_conv decib...

2 years ago | 2 answers | 0