Community Profile

# michael

### BGU

71 total contributions since 2013

View details...

Contributions in
View by

Solved

Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

2 days ago

Problem

find location of indexes

3 days ago | 0 | 5 solvers

Question

plot filled rectangle and appear on legend
Hi, I'd like to have something like that I know that I can use rectangle function, but then it is not appearing on a legen...

3 days ago | 1 answer | 0

### 1

Solved

frame of the matrix
Given the matrix M, return M without the external frame.

4 days ago

Solved

Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

4 days ago

Solved

Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

4 days ago

Solved

Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

4 days ago

Solved

Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

4 days ago

Solved

Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

4 days ago

Solved

Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

4 days ago

Solved

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

4 days ago

Solved

Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

4 days ago

Solved

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

4 days ago

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

4 days ago

Solved

Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

4 days ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4 days ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

4 days ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

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

4 days ago

Hello, Please see my response here on how to use pcap2matlab

5 months ago | 0

How to read pcap files directly using matlab
To make the pcap2matlab litlle bit simple to use: capture = pcap2matlab(filter, decodeas_and_dissector, filename_or_interface, ...

5 months ago | 0

Question

plot subset of data
Hello, (I'm using some old matlab :( ) I have a vector with 1000 values. From this values, I'd like to filter based on some ...

7 months ago | 1 answer | 0

### 1

Question

using compled code on newwer matlab versions with Matlab R14
Hello all, I have 2 matlab environments - one with preaty new matlab and on with the old R14. on the new matlab I have some wo...

9 months ago | 0 answers | 0

### 0

Question

migrate from R14 to newwer matlab
Hello all, As one who is still using Matlab R14, I'd like to migrate to newwer matlab versions. As I've seen, there is preat...

9 months ago | 1 answer | 0

### 1

Question

convert double to signed int
Hi, Some doubt: if A=40000 = 0x9C40 and I'd like that 0x9C40 would be as signed integer - what shall be done? executing int1...

9 months ago | 0 answers | 0

### 0

Question

Generate DLL from matlab R14SP3 and call by python 3.5
I have some matlab code (split over 4 files test.m, a.m, b.m, c.m) from which I'd like to generate DLL file to be called by exte...

11 months ago | 0 answers | 0

### 0

Question

plot country borders with old matlab version
Hello, I'm using old Matlab (~2005) which doesn't contain built in option to plot maps and locations and connections between ...

1 year ago | 0 answers | 0

### 0

Question

Hello, Is Link Budget Analysis reffers to the SATCOM or for LOS signals only? Parameters like G/T, atmospheric gas loss etc ...

1 year ago | 1 answer | 0

### 1

Question

draw three 3d plots on same figure
Hello, I have 3 datasets: X & Y are same but the Z is diffrent. I would like to draw on same figure the 3 sets as follows: eac...

2 years ago | 0 answers | 0