当前位置:网站首页>[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
边栏推荐
- CentOS7下安装PostgreSQL11数据库
- Few shot Learning & meta learning: small sample learning principle and Siamese network structure (I)
- 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
- php导出百万数据
- 开源生态|打造活力开源社区,共建开源新生态!
- pytest+allure+jenkins安装问题:pytest: error: unrecognized arguments: --alluredir
- Regular e-commerce problems part1
- 2022 recurrent training question bank and answers of refrigeration and air conditioning equipment operation
- [VHDL parallel statement execution]
- dash plotly
猜你喜欢

Detailed explanation of Kalman filter for motion state estimation
![[webrtc] M98 screen and window acquisition](/img/b1/1ca13b6d3fdbf18ff5205ed5584eef.png)
[webrtc] M98 screen and window acquisition

快速使用 Jacoco 代码覆盖率统计

自定义类加载器加载网络Class

2022 recurrent training question bank and answers of refrigeration and air conditioning equipment operation

通信设备商,到底有哪些岗位?

图解GPT3的工作原理

Mysql高低版本切换需要修改的配置5-8(此处以aicode为例)
![[unity] several ideas about circular motion of objects](/img/84/e70c6696629dbe17ace011553f43ff.png)
[unity] several ideas about circular motion of objects
![[CV] Wu Enda machine learning course notes | Chapter 8](/img/c0/7a39355fb3a6cb506f0fbcf2a7aa24.jpg)
[CV] Wu Enda machine learning course notes | Chapter 8
随机推荐
Rust versus go (which is my preferred language?)
探索干货篇!Apifox 建设思路
【obs】win-capture需要winrt
智联+影音,AITO问界M7想干翻的不止理想One
leetcode:105. Constructing binary trees from preorder and inorder traversal sequences
Tongda injection 0day
Use and analysis of dot function in numpy
nacos
Most elements
IO stream file
[Stanford Jiwang cs144 project] lab3: tcpsender
2022制冷与空调设备运行操作复训题库及答案
解决问题:Unable to connect to Redis
【webrtc】m98 screen和window采集
misc ez_usb
Is the test cycle compressed? Teach you 9 ways to deal with it
Redis technology leak detection and filling (II) - expired deletion strategy
Iterable、Collection、List 的常见方法签名以及含义
大视频文件的缓冲播放原理以及实现
After the interview, the interviewer roast in the circle of friends