Community Profile

photo

Gilles


Last seen: 10 Monate vor Aktiv seit 2012

Statistiken

All
  • Thankful Level 1
  • First Answer
  • Commenter
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

Gelöst


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

etwa 11 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

etwa 11 Jahre vor

Gelöst


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

etwa 11 Jahre vor

Gelöst


Given a 4x4 matrix, swap the two middle columns
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...

etwa 11 Jahre vor

Gelöst


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

etwa 11 Jahre vor

Gelöst


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

etwa 11 Jahre vor

Gelöst


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


Sort a list of complex numbers based on far they are from the origin.
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...

etwa 11 Jahre vor

Gelöst


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

etwa 11 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
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 ...

etwa 11 Jahre vor

Beantwortet
n term series using For loop
Check this link: <http://www.mathworks.se/help/matlab/ref/for.html>

etwa 11 Jahre vor | 0

Frage


Is the One-sided Spectrum from Spectrum Scope scaled ?
I have computed the power spectral density in a MATLAB function block in parallel with the SIMULINK Spectrum Scope. For both I t...

etwa 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


SL MATALB function block a bus-capable block ?
Hi, I'm trying to extract some parameters (2 out of 7) from a bus signal and use them in my code in the MATLAB function block. T...

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


builddocsearchdb command does not work in this case ?
Hi, i have created my own toolboxes documented them (with hmtl's, help sections and hyperlinks) as described in |<http://www.m...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Extend own created documentation to help browser ?
I have made my own toolbox. And added documentation to it. I can access the files by both: * Typing |help myfunctionname| in ...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten