![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8395749_1522126297633_DEF.jpg)
ttopal
Followers: 0 Following: 0
Feeds
質問
How can I find/plot mesh grid points outside an arbitrary contour?
Hi, I am trying to calculate Green's function using a boundary and a mesh grid with this code: N=128 theta=2*pi*(0:N-1)/N;...
約6年 前 | 0 件の回答 | 0
0
回答質問
How to calculate normal to a point on random contour ?
Hi all, I am trying to automate a calculation to find points in the vicinity of a point using its normal to the contour. For...
6年以上 前 | 2 件の回答 | 0
2
回答回答済み
How can I create a fine contour from set of points?
Using @KSSV answer this works a treat: x1=[0,0] ; x2=[8,-4] ; x3=[8,4] ; x4=[0,0] ; P = [x1 ; x2 ; x3 ; x4...
How can I create a fine contour from set of points?
Using @KSSV answer this works a treat: x1=[0,0] ; x2=[8,-4] ; x3=[8,4] ; x4=[0,0] ; P = [x1 ; x2 ; x3 ; x4...
6年以上 前 | 0
質問
How can I create a fine contour from set of points?
Hi, I am creating different contours using (x,y) coordinate of points. Say if i want to create a triangle I would use ...
6年以上 前 | 2 件の回答 | 0
2
回答質問
mex file crashes in loop
Hello, I have a problem calling my mex file inside a loop. After the first run, it creates myMexFunction.mexw64, and after 5-...
6年以上 前 | 1 件の回答 | 0
1
回答質問
How can I run my first Mex function?
Hi, I am trying to run a part of my matlab code in c++. Following this example: <https://au.mathworks.com/help/matlab/mat...
6年以上 前 | 1 件の回答 | 0
1
回答回答済み
nested for loops conditions
You are actually not using matlab syntax. And if you are comparing a value to list of values ( like i and -3,-2,0,8) you might w...
nested for loops conditions
You are actually not using matlab syntax. And if you are comparing a value to list of values ( like i and -3,-2,0,8) you might w...
7年弱 前 | 0
質問
Extremely slow nested for loop
Hi, I have number of functions that I use to find roots to Neumann problem. One of the functions contains nested for loops w...
7年弱 前 | 1 件の回答 | 0
1
回答質問
Recreating a contour using coordinate points
Hi all, I am reading contour points from an external file, which are not stored in order. I want to set a start point and ...
7年以上 前 | 1 件の回答 | 0
1
回答質問
how i can vectorize this code using bsxfun or meshgrid?
Hi, I am trying to vectorize this code, but I dont know how to start it, I read the help files for both bsxfun and meshgrid...
8年弱 前 | 1 件の回答 | 0
1
回答質問
points on a contour and meshgrid
Hi, I have a set of points on a contour, and a meshgrid of points. I need to use all the points in this meshgrid except when ...
8年弱 前 | 1 件の回答 | 0
1
回答回答済み
inverse power method for smallest eigenvector calculation
Here is another version of inverse iteration method, where if statement works fine. function [x,iter] = invitr(A, ep, ...
inverse power method for smallest eigenvector calculation
Here is another version of inverse iteration method, where if statement works fine. function [x,iter] = invitr(A, ep, ...
8年弱 前 | 0
| 採用済み
質問
inverse power method for smallest eigenvector calculation
Hi, I need to calculate the smallest eigenvector of a matrix. I use eigs(A,1,'sm') and I would like to compare the result wit...
8年弱 前 | 2 件の回答 | 0
2
回答質問
Error with bwtraceboundary function
Hi all, I have a function where I have a set of x,y coordinates for points to a contour as input. I calculate its derivatives...
約8年 前 | 1 件の回答 | 0
1
回答回答済み
How to get fsolve return number of iterations
Okay. So it turns out it needs this; [x,fval,exitflag,output] = fsolve(fun,x0,options) output.iterations you...
How to get fsolve return number of iterations
Okay. So it turns out it needs this; [x,fval,exitflag,output] = fsolve(fun,x0,options) output.iterations you...
約8年 前 | 0
| 採用済み
質問
How to get fsolve return number of iterations
Hi all, Yet another fsolve question. I am trying to compare now various root finding functions I have as well as fsolve. ...
約8年 前 | 1 件の回答 | 0
1
回答質問
multiple logical operators in if statement
Hi, I have a quick question. Is it possible to write multiple logical conditions in if statement like this; if...
約8年 前 | 2 件の回答 | 0
2
回答回答済み
Norm of step in fsolve
So I have found that my own root finder with improvement based on Newton-Raphson method with numerical approximations to the der...
Norm of step in fsolve
So I have found that my own root finder with improvement based on Newton-Raphson method with numerical approximations to the der...
約8年 前 | 0
| 採用済み
質問
how to improve performance? cpu vs ram vs operating system
Hi, I have recently started using matlab ( any type of programming actually) and I dont know if i need to buy a new laptop. I...
約8年 前 | 2 件の回答 | 0
2
回答質問
Norm of step in fsolve
Hi, I have yet another fsolve question. Norm of step in fsolve seems to be able to show me false roots (which i have far too ...
約8年 前 | 2 件の回答 | 0
2
回答質問
Finding all real roots of complex function with fsolve
Hi, Is it possible to force fsolve to return only real roots of a complex function? I have this small code; myfun ...
約8年 前 | 3 件の回答 | 1
3
回答質問
meshgrid or ngrid?
Hi, I have lately started to use meshgrid and ngrid thanks to the answer to my previous question. But I can not find a way to ...
8年以上 前 | 1 件の回答 | 0
1
回答質問
Nested for loops newbie question
Hi, I know this might be nested for loops question 1000. I have read most of other posts, even the newbie questions seems lit...
8年以上 前 | 1 件の回答 | 0
1
回答質問
why complex value appears in this array
Hi guys. I am quite new to matlab and I have been spending all my day to figure out why this simple code wont work. I am s...
8年以上 前 | 1 件の回答 | 0