octave - 八度 - 未定义
问题描述
我在运行 Octave 函数 (ODE) 时遇到问题,我已经尝试过针对此问题的现有解决方案,但没有任何效果
错误是:
错误:'formStiffness3Dframe' 在第 31 行第 13 列附近未定义
% clear memory
clear all
% E; modulus of elasticity
% I: second moment of area
% L: length of bar
E=210e6; A=0.02;
Iy=10e-5; Iz=20e-5; J=5e-5; G=84e6;
% generation of coordinates and connectivities
nodeCoordinates=[0 0 0; 3 0 0; 0 0 -3; 0 -4 0];
xx=nodeCoordinates(:,1);
yy=nodeCoordinates(:,2);
zz=nodeCoordinates(:,3);
elementNodes=[1 2;1 3;1 4];
numberNodes=size(nodeCoordinates,1);
numberElements=size(elementNodes,1);
% for structure:
% displacements: displacement vector
% force : force vector
% stiffness: stiffness matrix
% GDof: global number of degrees of freedom
GDof=6*numberNodes;
U=zeros(GDof,1);
force=zeros(GDof,1);
stiffness=zeros(GDof,GDof);
%force vector
force(1)=-10;
force(3)=20;
% stiffness matrix
[stiffness]=formStiffness3Dframe(GDof,numberElements,elementNodes,numberNodes,nodeCoordinates,E,A,Iz,Iy,G,J);
解决方案
推荐阅读
- visual-studio-2017 - 使用 LogicNP CryptoObfuscator 混淆 Excel 插件
- asp.net - 将 vuejs 与 cshtml 和 js 一起使用是否正确(没有 webpack)
- woocommerce - 在 WooCommerce 中将产品添加到购物车之前隐藏发货消息
- firebase - 将 Cloud Firestore 数据结果项解码为 NSObject
- php - 在 Woocommerce 中为未登录用户取消隐藏结帐登录表单
- python - Scrapy蜘蛛不会跳转到下一页
- javascript - 使用 cloneElement 从父组件向子组件传递道具
- php - 如何使用 symfony 3.3 从我的控制器的操作中将实体保存到数据库
- android - AsyncTask:doInBackground 忙时用什么?
- android - 在 Android Studio 中创建彩色饼图