I am a satellite communication engineer, specialising in spectrum and regulatory engineering, interference analysis and frequency coordination.

I have been programming since the mid-1970s (I used to be able to code by hand-punching Hollerith Cards!) but for the past 20-years or so I have really not done much coding at all. I'm trying to remedy that by learning MATLAB!

Solved

07 - Common functions and indexing 1

Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

ungefär 6 timmar ago

Solved

Sort the vector with the given index

Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

ungefär 16 timmar ago

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

ungefär 18 timmar ago

Solved

What is Sum Of all elements of Matrix

Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

ungefär 18 timmar ago

Solved

Deleting an element in a matrix

For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

ungefär 18 timmar ago

Solved

imaginary results

Return the value of the imaginary number i to the power of input argument n.

ungefär 19 timmar ago

Solved

Replace odd number in given matrix by zero

Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

ungefär 19 timmar ago

Solved

counting for loop

Complete the function below using a for loop to count from 3 to N by 2. For example, if N is 10, count 3, 5, 7, 9 and stop. Fo...

ungefär 21 timmar ago

Solved

Solving Quadratic Equations (Version 1)

Quadratic equations have the form: ax^2 + bx + c = 0. Example: x^2 + 3x + 2 = 0, where a = 1, b = 3, and c = 2. The equation has...

ungefär 22 timmar ago

Solved

Create a two dimensional zero matrix

You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

ungefär 22 timmar ago

Solved

Mysterious digits operation (easy)

What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

3 dagar ago

Solved

Sum the 'edge' values of a matrix

Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

4 dagar ago

Solved

Add two numbers

Calculate the sum of two numbers. Example input = [2 3] output = 5

4 dagar ago

Solved

edge detection

write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...

5 dagar ago

Solved

Test if two numbers have the same digits

Given two integers _x1_ and _x2_, return |true| if the numbers written with no leading zeros contain the same digits. That is, t...

5 dagar ago

Solved

Television Screen Dimensions

Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

5 dagar ago

Solved

Carnot cycle

Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...

6 dagar ago

Solved

Matlab Basics II - 3 Dimensional Arrays

Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

7 dagar ago

Solved

Determine the number of odd integers in a vector

Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

9 dagar ago

Solved

Who is the smartest MATLAB programmer?

Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...

10 dagar ago

Solved

Find the area of a triangle

Given a triangle with a base b and height h, return the triangle area.

10 dagar ago

Solved

sum of non-primes

The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

11 dagar ago