필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

coversion frm sym to double is not possible?plz help

조회 수: 1 (최근 30일)
khushi
khushi 2015년 8월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
clc;clear all; g_db=[0:2:20];
g=10.^(g_db/10); alpha=1.25; c=1; M=2; syms y r=0; for j=2:M
p=((-1)^j)*(factorial(M)/factorial(j)*factorial(M-j))*exp(-(g.*y*(1-(1/j)))); r=r+p; t=r*(1/M) end x=((y.^(alpha-1)).*exp(-y./c))/((gamma(alpha))*(c^alpha)); z=t*x; semilogy(g_db,double(subs(z,y)),'o') hold on

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by