Community Profile

photo

Robert101


Last seen: fast 2 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort