문제를 풀었습니다


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

12년 초과 전

문제를 풀었습니다


Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

12년 초과 전

문제를 풀었습니다


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

12년 초과 전

문제를 풀었습니다


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

12년 초과 전

문제를 풀었습니다


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

12년 초과 전

문제를 풀었습니다


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

12년 초과 전

문제를 풀었습니다


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

12년 초과 전

답변 있음
RCS Calculations for Phased Array System Toolbox
ok... use HH VV HV and VH values for different polarizations for your simulation in matlab. in each elevation and azimuth angle ...

12년 초과 전 | 0

답변 있음
RCS Calculations for Phased Array System Toolbox
as you may know most approximate methods can predict RCS within few dBs of the truth. In general, such a variation is quite acce...

12년 초과 전 | 0

답변 있음
Simulink: High Freq. noise in sim. results
hi.i draw your model in simulink and also modeled the system in matlab itself. the STEP()command in matlab obviously shows that...

12년 초과 전 | 0

| 수락됨

답변 있음
How do I add a matrix to another matrix with different sizes?
C=B; for i=1:length(B) for j=1:length(A) if A(j,1:2)==B(i,1:2) C(i,:)=A(j,:) end end ...

12년 초과 전 | 0

답변 있음
How do I add a matrix to another matrix with different sizes?
if you want to add matrix A to first raw's of B you can use the following code: C=zeros(size(B)); C(1:size(A,1),:)=A; ...

12년 초과 전 | 0

답변 있음
fitting sum of gaussians into a data set (100 rows and 1 column)
you can use the function "lsqcurvefit".first define Gaussian formula in a function mfile.then the lsqcurvefit function gives the...

12년 초과 전 | 0

| 수락됨

답변 있음
simulink adaptive notch filter
designing adaptive filters and none adaptive filters are two separate topics.you have to read more about adaptive systems. (here...

12년 초과 전 | 0

답변 있음
how to use technique to save value in final matrix - matlab coding?
with a for loop you can write following code: for kk=1:Nmod {all your code goes here} Ai(kk)=An; ...

12년 초과 전 | 0

답변 있음
How to interpolate to the nearest value
here is the answer to your question. :) t = 1900:10:1990; >> p = [75.995 91.972 105.711 123.203 131.669... 150.697 ...

12년 초과 전 | 0

답변 있음
Getting a warning while finding an inverse
your matrix is singular.it means that it's determinant is close to zero or actually zero.or even perhaps if you are sure that it...

12년 초과 전 | 0

답변 있음
Adding variables from function to workplace - Output not working
hi, well,we know that functions don't share variables with workspace,if you want to use variables in several functions you can ...

12년 초과 전 | 0

제출됨


thinned phased array
this function plotes the pattern of a thinned phased array

12년 초과 전 | 다운로드 수: 2 |

5.0 / 5
Thumbnail

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

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년 초과 전

문제를 풀었습니다


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

거의 13년 전

문제를 풀었습니다


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

거의 13년 전

문제를 풀었습니다


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

거의 13년 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

거의 13년 전

문제를 풀었습니다


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

거의 13년 전

문제를 풀었습니다


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

거의 13년 전

문제를 풀었습니다


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

거의 13년 전

문제를 풀었습니다


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

거의 13년 전

더 보기