回答済み
How to connect the points in an polar plot?
Have you tried to connect your points with splines? See http://www.mathworks.se/help/matlab/examples/splines-in-two-dimensions.h...

10年以上 前 | 0

| 採用済み

回答済み
Batch file: how to access .mat files in different folders?
I would suggest that you use *dir* with the argument '*_stroop_MES_Probe1.mat' directly instead of picking from d. For instan...

10年以上 前 | 2

回答済み
To delete rows from a cell array specifying conditions
Andrei beat me to it (again), but here is how you could answer using a loop. keep_cols = [3, 14, 17, 20, 21]; tmp = raw(...

10年以上 前 | 0

回答済み
Please help me to calculate Inverese matrix that doesn't appear : warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 7.142796e-039.
I'm not a numerical analysis expert, but if the matrix is "near singular", then the matrix is what is called "ill-conditioned" a...

10年以上 前 | 1

回答済み
How to find a maximum number not considered minus sign?
It sounds like you want to find the max absolute value of a vector. This can be accomplished simply by taking the absolute value...

10年以上 前 | 3

回答済み
Filtering a matrix to some small matrices
I am sure there is a function in statistics that does this for you, but I quickly wrote a very dirty version using cells, just t...

10年以上 前 | 0

回答済み
Saving a true color image
When you are calling *image* it returns a handle, which is a float value that you can use to modify the image in the plot window...

10年以上 前 | 0

| 採用済み

解決済み


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

10年以上 前

解決済み


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

10年以上 前

解決済み


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

10年以上 前

解決済み


inner product of two vectors
inner product of two vectors

10年以上 前

解決済み


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]

10年以上 前

解決済み


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10年以上 前

回答済み
Fresnel-like diffraction using linear convolution
Hello, perhaps this answer is late, but it might help someone else. I have tried your code and I don't know much about Fresn...

10年以上 前 | 0

解決済み


Create times-tables
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...

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


Make a checkerboard matrix
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...

12年以上 前

解決済み


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

12年以上 前

解決済み


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

12年以上 前

解決済み


Is my wife right?
Regardless of input, output the string 'yes'.

12年以上 前

解決済み


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

12年以上 前