Oguz Kaan Hancioglu
Followers: 0 Following: 0
Feeds
답변 있음
Unable to solve stiff differential equation
I think matlab solver couldn't solve the nonlinear probrem within your tolerances. You can use fixed step size which is very sma...
Unable to solve stiff differential equation
I think matlab solver couldn't solve the nonlinear probrem within your tolerances. You can use fixed step size which is very sma...
1년 초과 전 | 0
답변 있음
Issue when input to sin(x) is in scientific notation
Your sampling is not sufficient to analyze 60-hertz sine waves. When you update your sampling which is equal to dt, the sine wav...
Issue when input to sin(x) is in scientific notation
Your sampling is not sufficient to analyze 60-hertz sine waves. When you update your sampling which is equal to dt, the sine wav...
1년 초과 전 | 0
답변 있음
Updating MATLAB Remotely via Command Line
I think theese links give you idea how to use matlab from command line. https://www.mathworks.com/help/matlab/ref/matlabwindows...
Updating MATLAB Remotely via Command Line
I think theese links give you idea how to use matlab from command line. https://www.mathworks.com/help/matlab/ref/matlabwindows...
1년 초과 전 | 0
답변 있음
Incomplete reading of MS Word file
I haven't tried for such a huge file but can you try the open word document with fopen and read the whole text using read(fid, '...
Incomplete reading of MS Word file
I haven't tried for such a huge file but can you try the open word document with fopen and read the whole text using read(fid, '...
1년 초과 전 | 0
답변 있음
i want to control the value of a constant block in simulink by an EditField in appdesigner
You can use the codes in the following topics to change simulink block specific parameters from app designer. https://de.mathwo...
i want to control the value of a constant block in simulink by an EditField in appdesigner
You can use the codes in the following topics to change simulink block specific parameters from app designer. https://de.mathwo...
1년 초과 전 | 0
| 수락됨
답변 있음
Input delay too big when using set_param to change value of constant block.
There is always delay with communication between simulink and app designer. Maybe writing your reference to workspace and using ...
Input delay too big when using set_param to change value of constant block.
There is always delay with communication between simulink and app designer. Maybe writing your reference to workspace and using ...
1년 초과 전 | 1
답변 있음
Code generation app fails due to 'Function call failed' caused by toolbox function
You didn't mention the size of the pArrayPtrLLR. I couldn't figure out what is the corresponding variable in your m file. The dy...
Code generation app fails due to 'Function call failed' caused by toolbox function
You didn't mention the size of the pArrayPtrLLR. I couldn't figure out what is the corresponding variable in your m file. The dy...
1년 초과 전 | 0
답변 있음
Numerical method MATLAB code
The length(x(1:end-1)) and length(t_trap) are not equal. Also, the length(x(1:2:end)) and length(t_simp) are not the equal. I th...
Numerical method MATLAB code
The length(x(1:end-1)) and length(t_trap) are not equal. Also, the length(x(1:2:end)) and length(t_simp) are not the equal. I th...
1년 초과 전 | 0
| 수락됨
답변 있음
Storing x and y data calculated in loop as arrays to be used in the creation of a table.
You can use table data object in matlab. Best x = 1:4'; y = 1:4'; M1 = table(x,y) M2 = table(x,y) M3 = table(x,y) T = ta...
Storing x and y data calculated in loop as arrays to be used in the creation of a table.
You can use table data object in matlab. Best x = 1:4'; y = 1:4'; M1 = table(x,y) M2 = table(x,y) M3 = table(x,y) T = ta...
1년 초과 전 | 0
답변 있음
programmatically determine the "variablenamesline" value for import options.
In both figures, the sturcture of each csv files are the same. Frequency and magnitude are in the same row. I suggest to read al...
programmatically determine the "variablenamesline" value for import options.
In both figures, the sturcture of each csv files are the same. Frequency and magnitude are in the same row. I suggest to read al...
1년 초과 전 | 0
답변 있음
I need to plot the radiation resistance
You can use yyaxis to create these ype of figure. x = linspace(0,10); y = sin(3*x); yyaxis left plot(x,y) z = sin(3*x).*e...
I need to plot the radiation resistance
You can use yyaxis to create these ype of figure. x = linspace(0,10); y = sin(3*x); yyaxis left plot(x,y) z = sin(3*x).*e...
1년 초과 전 | 0
답변 있음
how to list variable name and values in the WS into a dropdown menu
You can read any value from workspace using evalin command. appArray = evalin('base','baseArray') Unfortunately, in the app de...
how to list variable name and values in the WS into a dropdown menu
You can read any value from workspace using evalin command. appArray = evalin('base','baseArray') Unfortunately, in the app de...
1년 초과 전 | 0
답변 있음
How can I implement Layernormalization layer to generate C code?
Have you ever change the codegen target language? cfg = coder.config('lib'); cfg.TargetLang = 'C'; cfg.DeepLearningConfig = c...
How can I implement Layernormalization layer to generate C code?
Have you ever change the codegen target language? cfg = coder.config('lib'); cfg.TargetLang = 'C'; cfg.DeepLearningConfig = c...
1년 초과 전 | 0
답변 있음
Building tall table from tall arrays generates error
Your code wasn't work because "gather(TCount)" returns cell array for each element. Therefore you are trying to write double arr...
Building tall table from tall arrays generates error
Your code wasn't work because "gather(TCount)" returns cell array for each element. Therefore you are trying to write double arr...
1년 초과 전 | 0
답변 있음
I want to create a logic with Subsystems in Simulink like Stateflow without using state machine. What are the alternatives to Stateflow?
You can use the switch case block in Port-Subsystem in Simulink Library. You can use the switch case block with the Switch Case ...
I want to create a logic with Subsystems in Simulink like Stateflow without using state machine. What are the alternatives to Stateflow?
You can use the switch case block in Port-Subsystem in Simulink Library. You can use the switch case block with the Switch Case ...
1년 초과 전 | 0
답변 있음
How to change diagonal, subdiagonal and superdiagonal values with respect time while using loop and conditional statement?
As @Dyuman Joshi mentioned, the problem statement is not clear. However vectors don't have diagonal. Please change the A,B, and ...
How to change diagonal, subdiagonal and superdiagonal values with respect time while using loop and conditional statement?
As @Dyuman Joshi mentioned, the problem statement is not clear. However vectors don't have diagonal. Please change the A,B, and ...
1년 초과 전 | 0
답변 있음
Extracting available Bus signals in a nested Bus recursively.
Since it is defined is yor base workspace, you can use this, Mathias Benedek (2023). NSTRUCT2CELL (https://www.mathworks.com/ma...
Extracting available Bus signals in a nested Bus recursively.
Since it is defined is yor base workspace, you can use this, Mathias Benedek (2023). NSTRUCT2CELL (https://www.mathworks.com/ma...
1년 초과 전 | 0
답변 있음
The matlab code does not display the graph with Matlab R2015a
Keep your t variable in symbolic and use fplot to plot the symbolic function. Bests clear all; close all; syms k t I_0=1; mu...
The matlab code does not display the graph with Matlab R2015a
Keep your t variable in symbolic and use fplot to plot the symbolic function. Bests clear all; close all; syms k t I_0=1; mu...
거의 2년 전 | 1
답변 있음
Maltab 2022 coder doesn't produce required structs.
Matlab 2022a doesn't generate the funcname_emxutil.h since there is no dynamic array in my m file. The existing funcname_emxutil...
Maltab 2022 coder doesn't produce required structs.
Matlab 2022a doesn't generate the funcname_emxutil.h since there is no dynamic array in my m file. The existing funcname_emxutil...
거의 2년 전 | 0
| 수락됨
답변 있음
Polyfit function is returning a partial line of best fit
Your code works as expected. There is no solution for curve fitting that covers all sample points. Therefore, you can only fit t...
Polyfit function is returning a partial line of best fit
Your code works as expected. There is no solution for curve fitting that covers all sample points. Therefore, you can only fit t...
거의 2년 전 | 0
답변 있음
How to iterate through the struct char to label a new struct correctly?
You can use eval function to use char arrays or strings as a matlab command. data(1).baseFileName =nk('ref_K15rapidscan.mat','b...
How to iterate through the struct char to label a new struct correctly?
You can use eval function to use char arrays or strings as a matlab command. data(1).baseFileName =nk('ref_K15rapidscan.mat','b...
거의 2년 전 | 0
답변 있음
Anti-windup techniques for multiple PID Controller feeding the same actuator
I don't understand why you are using both PI and PID for controlling the actuator. You can implement it using a single PID block...
Anti-windup techniques for multiple PID Controller feeding the same actuator
I don't understand why you are using both PI and PID for controlling the actuator. You can implement it using a single PID block...
거의 2년 전 | 0
답변 있음
Changing value of variable while simulation is running
You can connect all input variables with the input block including model variables. After that, you can connect the Simulink inp...
Changing value of variable while simulation is running
You can connect all input variables with the input block including model variables. After that, you can connect the Simulink inp...
거의 2년 전 | 0
답변 있음
I need code for processing of table data
After reading the excel, you can use the diff command to find the difference between elements of an array. Please note that sinc...
I need code for processing of table data
After reading the excel, you can use the diff command to find the difference between elements of an array. Please note that sinc...
거의 2년 전 | 0
답변 있음
Explaining the function of certain blocks
The example explains how the H bridge works. If the armature voltage control is bigger than the threshold, the PWM signal direct...
Explaining the function of certain blocks
The example explains how the H bridge works. If the armature voltage control is bigger than the threshold, the PWM signal direct...
거의 2년 전 | 1
답변 있음
I am facing error while solving two 2nd order differential equation in which boundary condition are dependent to each other. Any idea where I am doing wrong??
Since boundary conditions are related to each variable, solving all odes in one dsolve command may solve your problem. [psi_1So...
I am facing error while solving two 2nd order differential equation in which boundary condition are dependent to each other. Any idea where I am doing wrong??
Since boundary conditions are related to each variable, solving all odes in one dsolve command may solve your problem. [psi_1So...
거의 2년 전 | 0
| 수락됨
답변 있음
How to read a specific value next to a text in a text file?
I understand your data format is text-based as you want to read or write both numbers and strings. If all elements of the data a...
How to read a specific value next to a text in a text file?
I understand your data format is text-based as you want to read or write both numbers and strings. If all elements of the data a...
거의 2년 전 | 0
답변 있음
No output from Matlab Table
You are creating Q and T in the function. Function workspace is different than base workspace. Thats why Q and T is not seen in ...
No output from Matlab Table
You are creating Q and T in the function. Function workspace is different than base workspace. Thats why Q and T is not seen in ...
거의 2년 전 | 0
답변 있음
How to plot the equations
You can plot using symblic toolbox. As @Luca Ferro mentioned you need to specify more information. I created a short example f...
How to plot the equations
You can plot using symblic toolbox. As @Luca Ferro mentioned you need to specify more information. I created a short example f...
거의 2년 전 | 1
답변 있음
simulink model using switch block
You can use matlab function in simulink. https://www.mathworks.com/help/simulink/slref/matlabfunction.html You can implement ...
simulink model using switch block
You can use matlab function in simulink. https://www.mathworks.com/help/simulink/slref/matlabfunction.html You can implement ...
거의 2년 전 | 0