Community Profile

photo

Robert101


Last seen: 거의 2년 전 2019년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Using function in a serial code
I have a function shown below: function [ncell,phis,vac,nccel,ccell] = micro_poly_cell(Nx,Ny,ncell,R) format long; phis =...

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

1

답변

질문


What does [3, Inf] represents?
sizeA = [3 Inf]; Does it mean 3 rows and infinite colums? In the workspace it shows: sizeA = [3, Inf]. How to interpret it?

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

2

답변

질문


How to get convergence in Gradient descent algorithm?
I am trying to implement Gradient Descent Algorithm for linear regression. The X axis representes the year and Y axis the housin...

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

1

답변

질문


How to convert this 2D code segment with random number into the FORTRAN code?
Nx = 4 Ny = 4 c1 = 0.12 rr = 0.0001 for i=1:Nx for j=1:Ny D(i,j) =c1 + rr*(0.5-rand); end end It contains random numb...

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

2

답변

질문


Area fraction of particles from the image
I have contour plot showing the formation of particles after certain time. I want to know how to calculate the fraction of thes...

거의 4년 전 | 답변 수: 0 | 0

0

답변

질문


Exact value in excel sheet of function
How can i get the exact value in the first place instead of clicking on it and checking it out? The function is given as ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to save the iteration at every time step in this code?
K1 = 3.4; D1 = 1; D2 = 3.5; R1 = 5.0; p1 = 4.0; C1 = 1.0; C2 = 1.0; dt = 0.1; E1 = 1.0; Y1 = 1.0; for i=1:1000000 ...

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

1

답변

질문


My code is generating this error " Index exceeds matrix dimensions" . Apparently it looks fine. Still can not figure out the problem.
c1 = 0.1; c2 = 0.0001; L = 5.0; M = 0.04; P1 = 1.0e-2; P2 = 1.0e-5; for i=1:64 for j=1:64 C1(i,j) = c1 + P1*(...

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

1

답변

질문


How to solve this equation with two variables in one equation ?
A = 1; B = 1; for n=0.0:0.1:1.0 for c = 0.0:0.1:1.0 c0 = 1.13e-4; w = -A*(c-c0)^2*(n^4-3*n^2+2*n)+B...

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

1

답변