Community Profile # michael

### BGU

Last seen: 2 days ago Active since 2013

System Engineer / Solution architect

#### Statistics

All
• • • • • • • • • • • #### Content Feed

View by

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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

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

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

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

11 months ago