Community Profile

photo

vishwajit jadhav


Last seen: 28 days ago Active since 2017

Statistics

All
  • Solver

View badges

Content Feed

View by

Question


How to use simulink trigonometric tan block in fixed point calculation
Hi, I want to use tan block in fixed point simulink model but it is giving error that for tan block the data type must be doubl...

4 years ago | 0 answers | 0

0

answers

Question


Why do I not get a reusable function for a library subsystem
Under what circumstances, embedded coder shall not generate reusable code for my library blocks. I have made the subsystem with ...

4 years ago | 1 answer | 0

1

answer

Question


Array element(2x16) and display
Matlab R2017a When array element(2x16) connected to the display, while simulation it is only showing (2x10) data. What to do ...

4 years ago | 1 answer | 0

1

answer

Question


How to count events in sliding time window
I want to set the flag if 3 events occurs within 30 seconds(sliding window). How to implement it in simulink? Eg. 1st event occ...

5 years ago | 0 answers | 0

0

answers

Question


Typecasting a matrix of 200x8 uint8 to double
I am typecasting data from uint8 to double so I am using typecast function. I have matrix of 200x8 uint8 which want to convert i...

5 years ago | 2 answers | 0

2

answers

Question


Any sample codes for compression and uncompression Deflate zip algorithm?
While extracting *.mf4 file, facing issue in DZBLOCKS because data is compressed using Deflate Zip Algorithm.

5 years ago | 0 answers | 0

0

answers

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

6 years ago

Solved


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

6 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

6 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

6 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

7 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

7 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

7 years ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

7 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

7 years ago

Solved


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

7 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

7 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

7 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

7 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

7 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

7 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

7 years ago

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

7 years ago

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

7 years ago

Question


Error while conditional compilation of float values.
I am using IHME-8.2.0.15 (R2011b) version of polyspace. My code has conditional compilation part where it compares(<= or >=) tw...

7 years ago | 1 answer | 0

1

answer