Community Profile

photo

Viranch Patel


Last seen: 7 months ago Active since 2021

Statistics

All
  • Solver
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
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

Answered
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

Answered
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

Answered
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

Answered
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

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

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

12 months ago | 1

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

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

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

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

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

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

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

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

12 months ago | 0