当前位置:网站首页>[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
边栏推荐
- 微信小程序基本组件使用介绍
- Pytorch parameter initialization
- Problem solving: unable to connect to redis
- Qt学习27 应用程序中的主窗口
- Shell 脚本的替换功能实现
- 自定义类加载器加载网络Class
- Mysql高低版本切换需要修改的配置5-8(此处以aicode为例)
- Jenkins remote build project timeout problem
- Linux server development, MySQL process control statement
- Pytest + allure + Jenkins Environment - - achèvement du remplissage de la fosse
猜你喜欢

Operation suggestions for today's spot Silver
![[CV] Wu Enda machine learning course notes | Chapter 8](/img/c0/7a39355fb3a6cb506f0fbcf2a7aa24.jpg)
[CV] Wu Enda machine learning course notes | Chapter 8

3D reconstruction - stereo correction
![[2022 actf] Web Topic recurrence](/img/e4/ab9a1771489d751ee73a79f151d374.png)
[2022 actf] Web Topic recurrence

mysql多列索引(组合索引)特点和使用场景

Shell 脚本的替换功能实现

@component(““)

Linux server development, SQL statements, indexes, views, stored procedures, triggers

即刻报名|飞桨黑客马拉松第三期等你挑战

2022 welder (elementary) judgment questions and online simulation examination
随机推荐
图解GPT3的工作原理
自定义类加载器加载网络Class
Weibo publishing cases
242. Bipartite graph determination
Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
The charm of SQL optimization! From 30248s to 0.001s
[UVM basics] summary of important knowledge points of "UVM practice" (continuous update...)
C语言队列
C语言航班订票系统
Detailed explanation of Kalman filter for motion state estimation
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
[UVM practice] Chapter 2: a simple UVM verification platform (2) only driver verification platform
Regular e-commerce problems part1
[P2P] local packet capturing
【数学笔记】弧度
即刻报名|飞桨黑客马拉松第三期等你挑战
C language communication travel card background system
Tongda injection 0day
【斯坦福计网CS144项目】Lab4: TCPConnection
Linux server development, MySQL index principle and optimization