解決済み


A Simple Tide Gauge with MATLAB
*&#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767 &#8767* You are standing in a few inches of sea water on a beach. You a...

6年弱 前

解決済み


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

6年弱 前

解決済み


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

6年弱 前

解決済み


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

6年弱 前

解決済み


Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...

6年弱 前

解決済み


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

6年弱 前

解決済み


Create times-tables (★★★)
(copy of prob 33) At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 ti...

6年弱 前

解決済み


Doubling elements in a vector (★★)
(copy of prob. 1024) Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] t...

6年弱 前

解決済み


Generate a vector which contains a pyramid pattern (★★★★)
Generate a vector that contains terms that follows a pyramid pattern up to the nth row: 1 2 2 3 3 3 4 4 4 4 ...

6年弱 前

解決済み


Average of corner elements of a matrix (★★)
(copy of prob 2235) Calculate the average of corner elements of a matrix. e.g. x=[1 2 3; 4 5 6; 7 8 9;] avg = (1+3+7+9)...

6年弱 前

解決済み


Remove the row average (★★★)
(copy of Prob. 963) Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solut...

6年弱 前

解決済み


Get the elements of diagonal and antidiagonal for any m-by-n matrix (★★★★)
(copy of prob. 859) In this problem you must submit a solution which returns the diagonal and anti-diagonal elements without ...

6年弱 前

解決済み


Reindex a vector (★★)
(copy of Prob. 676) You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX h...

6年弱 前

解決済み


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

6年弱 前

問題


Algorithmic Trading - 4 (two thresholds)
This is the fourth of a series of problems on quant trading. It builds on earlier problems 45776, 45860, and 45884 *Goal* ...

6年弱 前 | 0 | 2 個のソルバー

問題


Algorithmic Trading - 3 (short selling and leverage)
This is the third of a series of problems on quant trading. It builds on earlier problems 45776 and 45860 <https://www.mathwo...

6年弱 前 | 0 | 2 個のソルバー

回答済み
Surf rotation/size
axis vis3d

6年弱 前 | 0

問題


Algorithmic Trading - 2 (optimize Calmar Ratio)
This is the second of a series of problems on quant trading. It builds on earlier problem 45776 <https://www.mathworks.com/matla...

6年弱 前 | 0 | 2 個のソルバー

解決済み


Fun with permutations
There are factorial(N) permutations of the numbers from 1 to N. For each of these permutations, we can find the set of indexes j...

6年弱 前

問題


Least Absolute Deviations (L1-norm) line fit - degree n
This is a generalization of Problem 45851 for degree n <https://www.mathworks.com/matlabcentral/cody/problems/45851-least-abs...

6年弱 前 | 1 | 2 個のソルバー

問題


Least Absolute Deviations (L1-norm) line fit - degree 1
Matlab's polyfit function is very handy to find least-squares regression. It minimizes the (L2-norm) of the estimation errors, b...

6年弱 前 | 2 | 6 個のソルバー

問題


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

6年弱 前 | 3 | 13 個のソルバー

解決済み


Person of interest?
given a person_of_interest, what is his_name?

6年弱 前

解決済み


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

6年弱 前

解決済み


cos for boss?
a programmer had too much coffee and his boss needs cos(alpha+beta) correctly, especially when alpha or beta are close to pi/2 a...

6年弱 前

解決済み


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

6年弱 前

解決済み


wait for me
wait exactly x seconds please, need not be more than 2 seconds but must be accurate within say 50 milliseconds, your function mu...

6年弱 前

解決済み


collision
several cars (n) were involved in this collision, the input matrix (vm) has n rows and two columns, first column for velocity an...

6年弱 前

解決済み


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

6年弱 前

解決済み


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

6年弱 前

さらに読み込む