답변 있음
how to create symbolic function?
function Z=symZ(N,Thetas,Ndigit) Thetas = sym(Thetas); Zsym = prod((1 - exp(-(N:-1:2).*Thetas))./(1 - exp(-Thetas)),2)...

8년 초과 전 | 0

| 수락됨

질문


how to create symbolic function?
I need to transform the following function to the symbolic form to evaluate it with arbitrary precision. Z(N,Thetas) = prod((...

8년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Permutations Inversions Counting ... speed up
Hi, this is my code for permutation inversions counting. Any idea how to optimize it to get some additional speedup for large se...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Again terrible problem with profiler
I am again facing to terrible profiler problem (under Matlab R2017b). I have two codes doing exactly identical computing (counti...

8년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Permutations Cycles Counting ... speed up
Hi, this is my code for permutation cycles counting. Any idea how to vectorize it to get some additional speedup for large set o...

8년 초과 전 | 답변 수: 4 | 0

4

답변

질문


problem with symbolic expression
A have some troubles with conversion of character vector to symbolic expression under R2017a: % character vector e = '(...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


mupad command calling from matlab produce wrong results
I need to evaluate mupad command "discont" from MATLAB. In Mupad notebook the result is correct and looks like: <</matlabcen...

거의 9년 전 | 답변 수: 1 | 0

1

답변

답변 있음
GPU Computing MacBook Pro (Retina 15'' mid 2014) force computer to use attached Intel iris GPU, give MATLAB access to entire 2GB Nvidia 750M
Your computer has only one Cuda GPU device, not two. Intel graphics is not Cuda enabled device. So, you cannot access to Intel g...

거의 9년 전 | 0

질문


DSP questeion (filter design from estimated transfer function)
Is there any way how to design filter (a,b coeffs) from transfer function estimated by "tfestimate"?

거의 9년 전 | 답변 수: 1 | 0

1

답변

답변 있음
About plotting Pareto fontier
Pareto front is always represented by convex hypersurface. So, you can use every methods how to visualize surface in 3-D case.

대략 9년 전 | 0

답변 있음
Matlab function to compare 2 numbers
Just use function MinValue = min(a,b) That is all what you need.

대략 9년 전 | 0

답변 있음
is MATLAB support AMD RADEON?
MATLAB use for GPU computing CUDA technology, which is supported only by NVIDIA cards.

대략 9년 전 | 2

질문


additional findchangepts function output
I have two questions regarding function "findchangepts" (DSP Toolbox): 1. How to effectively create additional output vector ...

대략 9년 전 | 답변 수: 3 | 1

3

답변

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

10년 초과 전

문제를 풀었습니다


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

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

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

더 보기