Solved


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]

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Answered
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 ago | 1

Answered
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 ago | 2

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 0