全部
现在,我尝试通过MATLAB计算单极RZ线路代码PSD,如下所示,可以直接复制到MATLAB中进行仿真,并在代码中绘制FFT仿真和理论结果,为更好地理解,我输入了理论等式是 https://www.mathworks.com/matlabcentral/answers/uploaded_files/230277/Image%2019.png 但是结果不相等,FFT结果谐波频谱不等于理论计算值,您能帮我检查一下代码吗?谢谢。 https://www.mathworks.com/matlabcentral/answers/uploaded_files/230259/Image%2016.png
import React, { Component } from "react";
import ReactDOM from "react-dom";
import * as THREE from "three";
import Detector from 'detector-webgl';
this.THREE =THREE;
const OrbitControls = require("three-orbit-controls")(this.THREE);
class Game{
constructor(){
if ( ! Detector.webgl ) Detector.addGetWebGLMessage();
this.container;
this.player = { };
this.stats;
this.controls;
this.camera;
this.scene;
this.renderer;
...
class App extends Component {
componentDidMount() {
this.THREE = THREE;
this.Game = new Game;
...