解決済み


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

11年以上 前

解決済み


Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

11年以上 前

解決済み


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

11年以上 前

問題


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

11年以上 前 | 0 | 96 個のソルバー

解決済み


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

11年以上 前

解決済み


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

11年以上 前

解決済み


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

11年以上 前

解決済み


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

11年以上 前

解決済み


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

11年以上 前

解決済み


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

11年以上 前

解決済み


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

11年以上 前

解決済み


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

11年以上 前

解決済み


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

11年以上 前

解決済み


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

11年以上 前

解決済み


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

11年以上 前

解決済み


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

11年以上 前

解決済み


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

11年以上 前

解決済み


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

11年以上 前

解決済み


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

11年以上 前

解決済み


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

11年以上 前

解決済み


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

11年以上 前

解決済み


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

11年以上 前

回答済み
solving a equation in MATLAB
<http://www.mathworks.nl/products/symbolic/code-examples.html?file=/products/demos/symbolictlbx/second_order_differential_equati...

11年以上 前 | 0

回答済み
How can i get the expression of function from the Graph ??
However I would invite you to explore the Curve Fitting Toolbox. <http://www.mathworks.nl/products/curvefitting/videos.html P...

11年以上 前 | 0

| 採用済み

回答済み
how to trasfer workspace values to another pc?
There are many ways of doing this... however a common way is using MAT Files. a = rand(10); b = rand(12); save myMat ...

11年以上 前 | 1

回答済み
How to store an object (calculated in a function) so that we can use it later with a different script?
Typically people use MAT files for this. a = rand(10); b = rand(12); save myMat a b clear all l...

11年以上 前 | 1

| 採用済み

回答済み
How to read a video in MATLAB R2009b?
mov = aviread(filename) mov = aviread(filename, index) Please note that the online documentation allows you to look up older...

12年弱 前 | 0

回答済み
Embedded Coder for Matlab R2013b in Linux
http://www.mathworks.nl/matlabcentral/fileexchange/43093-embedded-coder-support-package-for-stmicroelectronics-stm32f4-discovery...

12年弱 前 | 0

回答済み
Which experimenter kit should I choose for using PIL verification with Embedded coder
http://www.mathworks.nl/hardware-support/ti-c2000.html

12年弱 前 | 0

回答済み
How can I construct CAN request messages and can response messages?
You will need Vehicle Network Toolbox http://www.mathworks.nl/products/vehicle-network/code-examples.html

12年弱 前 | 0

| 採用済み

さらに読み込む