当前位置:网站首页>[matlab] when matrix multiplication in Simulink user-defined function does not work properly, matrix multiplication module in module library can be used instead
[matlab] when matrix multiplication in Simulink user-defined function does not work properly, matrix multiplication module in module library can be used instead
2022-07-07 07:56:00 【Cheap meow】
Generally speaking , Matrix multiplication in user-defined functions will be normal ……

Test1
function y = fcn(u)
A = rand(4,3);
y = A*u;
But my friend did have this problem when he was writing , Here's the picture , The input is a 31 Matrix , In the custom function with a 43 Matrix multiplication of , It's still a 4*3 Matrix


The back is really not good , Accept the custom function by x Calculation Ax Become output A, Module calculation using matrix multiplication Ax, To make it work properly

I don't know what magic operation this is, but it may have something to do with other modules , But it's complicated
边栏推荐
- Info | webrtc M97 update
- 2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct
- The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
- Figure out the working principle of gpt3
- Idea add class annotation template and method template
- 2022制冷与空调设备运行操作复训题库及答案
- Button wizard script learning - about tmall grabbing red envelopes
- 【经验分享】如何为visio扩展云服务图标
- paddlepaddle 29 无模型定义代码下动态修改网络结构(relu变prelu,conv2d变conv3d,2d语义分割模型改为3d语义分割模型)
- [SUCTF 2019]Game
猜你喜欢
随机推荐
Few shot Learning & meta learning: small sample learning principle and Siamese network structure (I)
Common method signatures and meanings of Iterable, collection and list
LeetCode 40:组合总和 II
今日现货白银操作建议
misc ez_usb
Linux server development, MySQL process control statement
The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
有 Docker 谁还在自己本地安装 Mysql ?
[GUET-CTF2019]虚假的压缩包
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
Info | webrtc M97 update
Explore Cassandra's decentralized distributed architecture
C语言队列
[Matlab] Simulink 自定义函数中的矩阵乘法工作不正常时可以使用模块库中的矩阵乘法模块代替
nacos
【斯坦福计网CS144项目】Lab3: TCPSender
智联+影音,AITO问界M7想干翻的不止理想One
自定义类加载器加载网络Class
快速使用 Jacoco 代码覆盖率统计
Visualization Document Feb 12 16:42
![[guess-ctf2019] fake compressed packets](/img/a2/7da2a789eb49fa0df256ab565d5f0e.png)








