統計
MATLAB Answers
24 質問
0 回答
ランク
of 157,897
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Assistance plotting radiation pattern
I am trying to make a polar plot using the following code yet it doesn't come out as smooth as desired. I'd appreciate some furt...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Plotting reflection coefficient as func. of frequency
Hi, How may I make a similar plot in MATLAB? It's a special Smith Chart showing the normalized load Z = -0.6 + jx, where 0.75<x...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Why doesn't this code solve the equation?
Hi, I am trying to solve a trigonometric equation for phis using the following code: phi = linspace(0,3*pi/4,1000); sym...
8年弱 前 | 1 件の回答 | 0
1
回答質問
Plotting equation of two variables
Hi, I'd appreciate some guidance/assistance plotting: y = -sin^3(theta); x = cos^3(theta) All my attempts have produced grap...
約8年 前 | 1 件の回答 | 0
1
回答質問
Shifting a graph without altering the data itself.
Hi, I have the following graph in which I'd like the two curves to coincide as closely as possible. Is there a way to achieve t...
約8年 前 | 1 件の回答 | 0
1
回答質問
Correlating plot's legend and data.
Hi, I cannot figure out why there's no correlation between the legend and the data's colours in the following code: fi...
約8年 前 | 1 件の回答 | 0
1
回答質問
How to draw a polar graph from r=0?
Hi, The following code draws the polar graph in the attachment. The problem is that this graph should begin at r=0, whereas it ...
約8年 前 | 1 件の回答 | 0
1
回答質問
Polarplot in dB.
Hi, I am trying to plot a certain function (traveling wave) using polarplot(). However, the result isn't even close to that pre...
約8年 前 | 1 件の回答 | 0
1
回答質問
Problem calling patternCustom() - undefined function.
I get the following error message upon calling patternCustom in MATLAB R2016a: Undefined function or variable 'patternCustom'. ...
約8年 前 | 0 件の回答 | 0
0
回答質問
Radiation pattern plotting.
Hi, I am having difficulties plotting the following function: theta = -2:0.01:2; y = (cos(pi/4*cos(theta*pi))-cos(p...
約8年 前 | 6 件の回答 | 0
6
回答質問
Problem plotting sinc function.
Hi, I'd like to plot the following function: 400/pi*sinc^2(20sin(x))*cos^2(x) for x between -0.5 and 0.5. To that end, I wro...
約8年 前 | 1 件の回答 | 0
1
回答質問
Fit to Gaussian with errors.
Hi, I'd like to fit a Gaussian to a set of x,dx,y,dy data, but am unable to do so. Would truly appreciate some assistance. It s...
約11年 前 | 0 件の回答 | 0
0
回答質問
Bisection method code - question.
Hi, I wrote the following function for solving V=L[arccos(h/r)r^2 - h(r^2-h^2)^0.5] using the bisection method. However, as ...
約11年 前 | 1 件の回答 | 0
1
回答質問
How to avoid a loop using vectors?
Hi, Is there a way to avoid using a for loop (or any loop for that matter) in the following?: h=(10^-1).^[1:8]; x=pi; ...
11年以上 前 | 1 件の回答 | 0
1
回答質問
Approximating derivative and plotting error.
Hi, I'd sincerely appreciate it if someone were willing to review the few lines of code below and indicate why they don't quite...
11年以上 前 | 1 件の回答 | 0
1
回答質問
Help plotting interpolation ploynomial.
Hi, I was asked to plot psi_n(x) = (x-x_0)(x-x_1)...(x-x_n) for n = 3,7,10,17 evenly distributed nodes in [-5,5] with resolutio...
11年以上 前 | 1 件の回答 | 0
1
回答質問
Plotting several values returned by a function.
Hi, I wrote the following function for the interpolation polynomial of log(x): function pol = Lagrange1(x) dim1 = [1, 2...
11年以上 前 | 1 件の回答 | 0
1
回答質問
Finding minimum value satisfying a constraint.
Hi, I'd like to use MATLAB to determine the smallest value of n satisfying: 3^(-n) * 3^n != 1 I am advised to use min(x)/max(...
11年以上 前 | 0 件の回答 | 0
0
回答質問
How to form an array of sums?
Hi, I am asked to evaluate the following sum S=Sigma(n=0 to N) x^n/n! (namely, e^x as n->Inf) for N=10:10:100 and x=10, so th...
11年以上 前 | 1 件の回答 | 0
1
回答質問
How to evaluate sigma (summation) expression using meshgrid() and sum()?
I would like to evaluate the following expression using functions meshgrid, sum and dot operations: y = Ʃ(n=1 to N) xn*[cos(x2 ...
12年弱 前 | 1 件の回答 | 0
1
回答質問
How to permute a row vector without using perms(), permute() etc.
I would like to permute a row vector, but without using perms(), permute() and so forth. I was wondering whether the following c...
12年弱 前 | 1 件の回答 | 0
1
回答質問
How to code a function for solving equation by iteration?
I'd like to write a function which calculates the pressure drop given by: P = (1/2)*rho*omega^2*(L/D)*lambda where rho -...
12年弱 前 | 0 件の回答 | 0
0
回答質問
How to plot six concentric circles using meshgrid and plot?
I am trying to plot six concentric circles using meshgrid() and plot(). The circles' radii vary between 0.5 and 1.75 (with inter...
12年弱 前 | 1 件の回答 | 0
1
回答質問
How to generate a matrix of random integers from 55 to 100?
Using function rand, should a matrix of random integers in the interval [55..100] be generated thus: M = ceil((rand(5,5)+(11/...
12年弱 前 | 3 件の回答 | 1