Community Profile

# michael

### BGU

Last seen: 2 días ago Active since 2013

System Engineer / Solution architect

All

#### Content Feed

View by

Question

quantaize data and build an histogram
Hello, I have a 3D data (X,Y,Z). Where X is between 0 to 360, Y is between 0 to 180 and Z is between -100 to + 100. I'd like t...

alrededor de 1 mes ago | 0 answers | 0

### 0

Question

y axis values - change the display
Hi, I have values on y axis which ranges from 0 to 160000. The value for 80000 (for example) is displayed as 8 (*10^4) How c...

alrededor de 1 mes ago | 1 answer | 0

### 1

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 meses ago

Question

shifting image up by known number of pixels
Hi, I have an image of 85*360*3. If I show it with imagesc, the Y axes will be between 0 to 85. I'd like to shift the whole i...

5 meses ago | 1 answer | 0

### 1

Question

calculate the difference on the antenna azimuth
Hi, I need to calculate the difference of 2 azimuths (lets say analytical and real azimuth). There is no issue if both are p...

6 meses ago | 1 answer | 0

### 1

Question

select data from plot and update other plot
Hi, I have some challange: I'm using preaaty old version of Matlab - R14 SP3. I have some waw data which consists of some v...

6 meses ago | 1 answer | 0

### 1

Question

using area function - drawing below 0 of y axes
Hi, I have some graph. I'd like to plot an area (the orange one). I'm using area function for positive values. how can I use it...

6 meses ago | 2 answers | 0

### 2

Question

Satellite toolbox: GPS signal generation and SDR
Hi, Just noticed that in the new version of matlab there is a new toolbox for satellite commnucation which contains an option t...

8 meses ago | 0 answers | 0

### 0

Question

selecting values between vectors and plot the values
Hi, I have 4 vectors which are unsorted. All have all same length of 360: Ax, Bx - Values are real numbes between 0 to 360. V...

11 meses ago | 1 answer | 0

### 1

Question

System composser - can't save dictionary
I'm following the Getting Started Guide for system composer. When trying to save to new dictinory - i'm getting The data dictio...

11 meses ago | 1 answer | 0

### 1

Question

select values from matrix
Hi, I have a 2D matrix of size 2x360 and a vector of length 360 which contains values 1 or 2. From the matrix, I'd like to sel...

11 meses ago | 1 answer | 0

### 1

Solved

Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

12 meses ago

Solved

Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

12 meses ago

Solved

Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

12 meses ago

Question

axis equal - a bug in the function?
Hi, when executing following plot(1:10) axis equal I'm getting a figure as below, which seems not to comply with the definit...

12 meses ago | 2 answers | 0

### 2

Solved

Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

12 meses ago

Solved

Draw a 'N'!
Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

12 meses ago

Solved

Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

12 meses ago

Solved

Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

12 meses ago

Solved

Draw 'J'
Given n as input, generate a n-by-n matrix 'J' using 0 and 1 . Example: n=5 ans= [0 0 0 0 1 0 0 0 0 1 0 0 ...

12 meses ago

Solved

Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

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

12 meses ago

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

alrededor de 1 año ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

alrededor de 1 año ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

alrededor de 1 año ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

alrededor de 1 año ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 1 año ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

alrededor de 1 año ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

alrededor de 1 año ago

Solved

Find max
Find the maximum value of a given vector or matrix.

alrededor de 1 año ago