Community Profile

Viranch Patel

Last seen: 7 months ago Active since 2021

All

Content Feed

View by

Two separate outputs from one input
You can have multiple outputs from the function like this. function [multiply,sum] = test(x) multiply = x*2; sum = x+...

9 months ago | 1

Question about how to put several values in one histogram
You can do something like this. X = categorical({'user win time','draw','computer win time'}); X = reordercats(X,{'user win t...

9 months ago | 0

How to find real and complex roots for a nonlinear equation
For simplicity I have taken a simple function which has complex roots. syms H eq=H^2 + 1; solve(eq==0,H) You can specify yo...

9 months ago | 0

How to put limit in my code?
If I have got the question correctly, then these functions may solve your query. xlim([x_min x_max]) ylim([y_min y_max]) zlim...

9 months ago | 0

How to find rest of the number in matrix ?
a = 1:10; I = find(a>5); aa = a(I); bb = a; bb(I)=[]; You can reassign the value of bb as 'a' and then can have other value...

9 months ago | 1

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

12 months ago | 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...

12 months ago | 1

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

12 months ago | 1

Object position from a video

12 months ago | 0

Sinogram BY USING CT scan

12 months ago | 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...

12 months ago | 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];...

12 months ago | 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:...

12 months ago | 1