photo

Priya Khot


2017 年からアクティブ

Followers: 0   Following: 0

統計

MATLAB Answers

11 質問
0 回答

ランク
85,246
of 300,771

評判
0

コントリビューション
11 質問
0 回答

回答採用率
9.09%

獲得投票数
0

ランク
 of 21,084

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 170,969

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


How can i create a column matrix as mentioned bellow of n elements.
A=[0.5;0.5;0.5;0.5....up to n elements]

8年以上 前 | 1 件の回答 | 0

1

回答

質問


How can i remove this for loop to vectorize the code?
x1=0; a = 1.; x2=a; T = 12000.; n = 39; m = 100.; dx = a/(n+1.); dt = T/m; t=0.; ...

8年以上 前 | 1 件の回答 | 0

1

回答

質問


How can i vectorize the for loop in this code? is there any solution to calculate a matrix having both the variable indice?
clear all; % clear all variables in memory close all; xl = 0; xr = 1; ...

8年以上 前 | 2 件の回答 | 0

2

回答

質問


How can i vectorize this for loop? please help.
t = 0:dt:T; x = xl:dx:xr; u = zeros(xn+1,tn+1); for j = 1:tn; tm = j*dt; if j == 1; for i = 2:xn; ...

9年弱 前 | 1 件の回答 | 0

1

回答

質問


How can I vectorize code mentioned below?I want to remove for loop considering repective array sizes of z and (0:N)? Please help.
clearvars -except f_ans time_sequential; tic; z=-2:0.001:2; N=200; format long; f=zeros(1,length(z)); fo...

9年弱 前 | 1 件の回答 | 0

1

回答

質問


Below I have stated both my 'original code' and its corresponding 'vectorized code' for the series approximation of Error function, but I'm getting wrong results by evaluating my 'vectorized code'. Please help.
%%original code z=-2:0.001:2; sm=0; N=200; format long; f_ans=zeros(1,length(z)); for k=1:length(z) sm=0; for n=...

9年弱 前 | 1 件の回答 | 0

1

回答

質問


How to code Taylor's series approximation of Error function? Is following code right? Please help
z=0:4; ert=zeros(1,length(z)); sm=zeros(1,length(z)); sm=0; for k=1:length(z) for n=0:500 sm=sm+((-1)^n*z(k)^(2*n+...

9年弱 前 | 2 件の回答 | 0

2

回答

質問


How to vectorize integral function in a code?
syms r syms p fun1=@(r)(r.^((1-bta)/alpha)/pi*alpha).*exp(-r.^(1/alpha)).*(r*sin(pi*(1-bta))-z*sin(pi*(1-bta+alpha)))/((r.^2...

9年弱 前 | 0 件の回答 | 0

0

回答

質問


How to define K(r,alpha,beta,z) this function?
function res=K(r,alpha,bta,z) res=r.^((1-bta)/alpha).*exp(-r.^(1/alpha)).*(r*sin(pi*(1-bta))-... z*sin(pi*(1-bta+alpha))...

9年弱 前 | 1 件の回答 | 0

1

回答

質問


In the code below, I'm getting wrong answer in CASE 5 while comparing with the code of Mittag leffler function on mathworks site. Please help
clc %clearvars -except alpha bta t E1 E2 time_usingfun_mlf % clear all; %close all; alpha = 0.8; bta = 0.7; %t = 0:1e-3:0....

9年弱 前 | 0 件の回答 | 0

0

回答