From 05f62db4ab4077ec0c2c58c7e41c05d407fefc92 Mon Sep 17 00:00:00 2001 From: Razvalyaev Date: Fri, 16 May 2025 16:21:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B4=D0=B2=D0=B8=D0=B3=D0=B0=D1=82=D0=B5=D0=BB=D1=8C?= =?UTF-8?q?=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=B9=20=D0=BA=D1=80?= =?UTF-8?q?=D1=83=D1=82=D0=B8=D1=82=D1=8C=D1=81=D1=8F=20(=D1=81=20=D0=B4?= =?UTF-8?q?=D0=B8=D0=BF=D0=BB=D0=BE=D0=BC=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MCU_Wrapper/mcu_wrapper_conf.h | 2 +- mexing.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MCU_Wrapper/mcu_wrapper_conf.h b/MCU_Wrapper/mcu_wrapper_conf.h index 35e49c0..266c1bd 100644 --- a/MCU_Wrapper/mcu_wrapper_conf.h +++ b/MCU_Wrapper/mcu_wrapper_conf.h @@ -50,7 +50,7 @@ #define PORT_WIDTH 16 ///< width of one port -#define PORT_NUMB 3 ///< amount of ports +#define PORT_NUMB 4 ///< amount of ports // Parameters of S_Function #define NPARAMS 1 ///< number of input parametrs (only Ts) #define IN_PORT_WIDTH (10) ///< width of input ports diff --git a/mexing.m b/mexing.m index f06de8e..525e2f7 100644 --- a/mexing.m +++ b/mexing.m @@ -4,7 +4,7 @@ clear, clc, set = mex.getCompilerConfigurations('C', 'Selected'); Ts = 0.00001; -Unom = 460; +Unom = 220; Udc = Unom*sqrt(2); freq = 20000; Rload = 2;