已解决


Draw 'D'.
Draw a x-by-x matrix 'D' using 0 and 1. example: x=4 ans= [1 1 1 0 1 0 0 1 1 0 0 1 1 1 1 0]

3 years 前

已解决


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

3 years 前

已解决


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

3 years 前

已回答
Matlab to solve finite difference for Ode
I tried running the code on my machine and it's working fine. You can paste this code to your machine and see if its working. I ...

3 years 前 | 1

已回答
Is there any MATLAB code to determine the optimum delay time from Average Mutual Information method (AMI)
I could not find any direct toolbox in MATLAB. But I found one research paper and its implementation which in the MATLAB. You ca...

3 years 前 | 2

已回答
Phase portrait of a system of PDE
You can checkout this smiliar answer - https://in.mathworks.com/matlabcentral/answers/416516-3d-phase-portrait Also I found a p...

3 years 前 | 1

已回答
Object position from a video
I found a MATLAB answer similar to this. You can look into that, it may help you. https://in.mathworks.com/matlabcentral/answer...

3 years 前 | 0

已回答
Sinogram BY USING CT scan
You can checkout the following links for this. These may help you. https://github.com/SanketD92/CT-Image-Reconstruction https:...

3 years 前 | 1

已回答
Can't open files on MATLAB Online
You can click on the open option in the top left cornor and you should see the following window from which you can oprn the file...

3 years 前 | 0

已回答
Returning Incorrect index of array
So if you write y = x(x>0), then it will take value only which is greater than 0 from the x and put it into y. x = [0 0.5 4 5];...

3 years 前 | 1

已回答
getting answers of an equation with 3 variables with known values
In general you can try like this. If E1, E2, E3 are arrays of size 12, then for i = 1:12 for j = 1:12 for k = 1:...

3 years 前 | 1

已回答
Matlab code related to finance
The function 'hist_stock_data' accepts only three arguments if you're referring to this function. So you can write like this i...

3 years 前 | 0

已回答
Variables won't display correctly in new Matlab version
It looks like you've tried something like this. val = zeros(117,5,'double','distributed'); Which gives output like this. But y...

3 years 前 | 0