Community Profile

Contact

Professional Interests: DSP, data mining

Top 5% contributor

This one should work: fid = fopen ('data1.xlsx', 'r'); fid = fopen ('reg1.txt', 'w'); A = []; for i = 1:4 x = d...

accepted

0

Answered 5 years ago

*INSTRUCTIONS* This is a multi-dimensional variant of the normal multiplication table used to teach elementary students multi...

Solve this!

3 years ago

If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

Very easy, you just have to multiply 2 numbers but you cannot use the following signs (*, /, - ,^) ,mtimes , times, cross, pro...

4 years ago

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

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

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

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

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

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

Regardless of input, output the string 'yes'.

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

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

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

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Check if sorted. Example: Input x = [1 2 0] Output y is 0

If it's ony about plotting try to call this after your plot function: alpha = 30; set(gca, 'View', [alpha 90]);

Answered 3 years ago

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries