Feeds
提问
How to create a syms vector
How do I generate symbolic variables that I can put into a fminsearch function? x = sym('x', [1 2]); fun1 = 4*x(1)^2+3*x(2)+2 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Anyway to run excell commands from matlab? Like draw a boarder range?
I know how excel com commands can be called from matlab with activex com. How could I draw a border with com? Sub SetRangeBord...
5 years 前 | 1 个回答 | 0
1
个回答已回答
Offset polygon draw
for ii = [0 1 3] xoff = ii; yoff = 1; t = 0.05:0.01:2*pi; x1 = avgdistbig*cos(t)+xoff; y1 = avgdistbig*sin(t)+yoff; pgon...
Offset polygon draw
for ii = [0 1 3] xoff = ii; yoff = 1; t = 0.05:0.01:2*pi; x1 = avgdistbig*cos(t)+xoff; y1 = avgdistbig*sin(t)+yoff; pgon...
6 years 前 | 0
提问
Is this the proper way to run a transient simulation on a thermal 3D FEM with the PDE toolbox?
How can I model a 3d FEM and run a transient simulation? I've tried this so far and it doesn't seem to work The real q...
6 years 前 | 0 个回答 | 0
0
个回答提问
Is there any way to speed up the PDE solver with the parallel computing toolbox?
Can I speed up this code by paralleling it with the parallel computing toolbox? thermalmodel = createpde('thermal','transie...
6 years 前 | 2 个回答 | 0
2
个回答提问
Can I flip a group of simulink components
I am trying to figure out how to copy then mirror a group of simulink components (actually simscape components). Right now I hav...
6 years 前 | 0 个回答 | 0
0
个回答提问
Can I have a regular simulink port on a simscape custom component?
I would like to put a simulink port so I don't have to use the PS->S blocks on a simscape custom component, how would I do this?...
6 years 前 | 0 个回答 | 0
0
个回答已回答
Simscape custom component compiler having trouble solving a simple two thermal resistor equation
The answer is simscape custom elements have terrible support and I found the answer on my own. The answer is you don't write...
Simscape custom component compiler having trouble solving a simple two thermal resistor equation
The answer is simscape custom elements have terrible support and I found the answer on my own. The answer is you don't write...
6 years 前 | 1
| 已接受
提问
Simscape custom component compiler having trouble solving a simple two thermal resistor equation
I'm trying to write a custom thermal component, the basis of which is formed by two thermally conductive elements. The compone...
6 years 前 | 1 个回答 | 0
1
个回答提问
Why do simscape components not use branches?
If I create my own custom component, I need to use a branch component conduction < foundation.thermal.branch % Conductiv...
6 years 前 | 0 个回答 | 1
0
个回答已回答
How do I add a node to a simscape custom component?
Figured it out, you do it this way nodes(Access=private) Tm = foundation.thermal.thermal; end
How do I add a node to a simscape custom component?
Figured it out, you do it this way nodes(Access=private) Tm = foundation.thermal.thermal; end
6 years 前 | 2
| 已接受
提问
How do I add a node to a simscape custom component?
I am building a custom component, I would like to create an internal thermal node inside of the component, what is the best way ...
6 years 前 | 1 个回答 | 0
1
个回答提问
How do I call a custom python function from matlab that uses an import statement?
I have a custom python script called testmat.py with two functions: # testmat.py import numpy def createarray(n):...
7 years 前 | 1 个回答 | 3
1
个回答提问
Simulink Scope Time Control
I have a simulation, because it has an integrated control system, I would like the scope to not capture until it has reached a s...
7 years 前 | 1 个回答 | 0
1
个回答提问
How do I make a simscape integral in a custom component?
If I have an equation x = integral(y,dt) how would I implement this in a simscape custom component? The code that I have a...
7 years 前 | 1 个回答 | 0
1
个回答提问
Can I implement a spatial derivative in a simscape custom component?
I have an equation based off of two variables M and H. At some point in my equations I need to take the spatial derivative of H ...
7 years 前 | 1 个回答 | 0
1
个回答提问
How do I implement a spatial dirative in simulink?
I have two signals, lets call them H and M. Now in simulink I would like to implement a derivative of dM/dH and spit out the ans...
7 years 前 | 0 个回答 | 1
0
个回答提问
Units for constants in simscape custom module
I have a constant that I have declared in the variables section. I'm assuming that everything needs units. Some papers use const...
7 years 前 | 1 个回答 | 0
1
个回答提问
How to modify simscape PTC Thermistor for Stien-Hart Equation
I would like to modify the PTC thermistor for the Stein-Hart Equation so It has more parameters than just A. I found <https://ww...
7 years 前 | 1 个回答 | 0
1
个回答提问
Adaptive Minimization for loop
I have a DAC that I'm calibrating by measuring the values. I use a simple search to find the minimum between a voltage I desire ...
8 years 前 | 0 个回答 | 0
0
个回答已回答
How do I get matlab to recognize .net dll
You have to register the dll with the gacutil provided with visual studio, the best way to run it is through the visual studio d...
How do I get matlab to recognize .net dll
You have to register the dll with the gacutil provided with visual studio, the best way to run it is through the visual studio d...
8 years 前 | 0
| 已接受
提问
How to read in an xml file created by c#
I have an xml file, I would like to read it into matlab as a struct. The problem is, I know very little about xml. I know that t...
8 years 前 | 1 个回答 | 0
1
个回答提问
How do I get matlab to recognize .net dll
I am trying to access a method in a .net class that opens a file then spits out data. You put the filename in and it gives you d...
8 years 前 | 1 个回答 | 0
1
个回答提问
Feature Request in Gensig
It would be great if the gensig function had a chirp, triangle and noise added to its list of signals to generate.
8 years 前 | 1 个回答 | 0
1
个回答已回答
Whch toolbox gives most money for the buck?
Only buy what you need, If you don't know what it is, you probably don't need it. That being said, image detection is cool, go w...
Whch toolbox gives most money for the buck?
Only buy what you need, If you don't know what it is, you probably don't need it. That being said, image detection is cool, go w...
9 years 前 | 0
已回答
How to Write Latitude and Longitude in MATLAB?
Work it out on paper, when you find equations that work you can easily transfer it to the computer and let it do the work. It is...
How to Write Latitude and Longitude in MATLAB?
Work it out on paper, when you find equations that work you can easily transfer it to the computer and let it do the work. It is...
9 years 前 | 0
提问
How do I increase simscape simulation accuracy?
I'm simulating a semi-simple circuit with switches, resistors and caps and a voltage source. I need accuracy on the order of 10e...
9 years 前 | 1 个回答 | 0
1
个回答已回答
Problems with simscape solvers
Instead of changing the simulink solver parameters, try clicking on the solver configuration block. I needed more accuracy and I...
Problems with simscape solvers
Instead of changing the simulink solver parameters, try clicking on the solver configuration block. I needed more accuracy and I...
9 years 前 | 0
已回答
Having trouble using Simscape to solve a simple circuit
You must be really bad at this, Just Kidding. I just got simscape a few days ago and it is a bit confusing. 1) You have to have ...
Having trouble using Simscape to solve a simple circuit
You must be really bad at this, Just Kidding. I just got simscape a few days ago and it is a bit confusing. 1) You have to have ...
9 years 前 | 0
已回答
Subdivide area of function in x areas of same size
Go to you matlab prompt and type y = 0:0.1:5. Here is another clue: x = 2 y = 0.01 z = 30 a = x:y:z; Also go to prompt, t...
Subdivide area of function in x areas of same size
Go to you matlab prompt and type y = 0:0.1:5. Here is another clue: x = 2 y = 0.01 z = 30 a = x:y:z; Also go to prompt, t...
9 years 前 | 0