Shape of lines on a graph plot
Hi, I’m creating a digraph object in a matlab app to show a network of nodes and connecting edges that are generated from pre existing data. The graphs end up looking like this: What I want to know is whether…
Hi, I’m creating a digraph object in a matlab app to show a network of nodes and connecting edges that are generated from pre existing data. The graphs end up looking like this: What I want to know is whether…
I build a p2-hybrid model with the virtual vehicle composer and i want to switch from hybrid to conventional so i can compare the simulated combustion engine with a real engine.I build a p2-hybrid model with the virtual vehicle composer…
I am trying to run the DVB-S2 Transmitter Using Software-Defined Radio example with a USRP X310 and Wireless Testbench. My setup: MATLAB ver Show more lines Relevant products: MATLAB R2026a Update 3 Wireless Testbench 26.1 Satellite Communications Toolbox 26.1 Communications…
I have created my own LiveTask (a simple UI for file and folder selection plus manipulation) for others to use in a livescript but I want to use it personally as an object that I call from a regular M-file.…
When trying to communicate with a third party application using the COM server in MATLAB, I am receiving the following error message, try app = actxserver(‘STK11.application’); app.Visible = 1; disp(‘success!’); catch ME disp(‘error:’); disp(ME.message); endWhen trying to communicate with a…
I was under the impression that in an indexing expression A(m:n) when A is a numeric vector, Matlab was smart enough to optimize the operation by not explicitly constructing an intermediate index array I=(m:n), as it must in more general…
I am attempting to generate a random stream as follows: s = rng(‘shuffle’) mystream = RandStream(‘mt19937ar’,’Seed’,s.Seed) but the first time I run this in Matlab, s.Seed is always 0. To get nonzero Seed, I need to run rng(‘shuffle’) twice: s…
Hello everyone, I am working with a Simulink + Simscape Electrical model that needs to run in real time with a fixed-step size of 1 ms. The model is eventually exported as a Co-Simulation FMU and executed in a third-party…
I need to install MATLAB on a machine which cannot connect to the internet. How can I do this?I need to install MATLAB on a machine which cannot connect to the internet. How can I do this? I need to install…
How do I install MATLAB? How do I install MATLAB? How do I install MATLAB? MATLAB Answers — New Questions
How can I manually activate my MATLAB Student installation?How can I manually activate my MATLAB Student installation? How can I manually activate my MATLAB Student installation? MATLAB Answers — New Questions
I have a simscape model of a vehicle cooling system with a pressure source to represent the differential pressure between air inlet and outlet when the vehicle is moving, a fan and a radiator from which I am rejecting the…
A1=randn(20,10,2)+1j*randn(20,10,2); B1=randn(20,10,2)+1j*randn(20,10,2); A = gpuArray(A1); B = gpuArray(B1); X = pagemldivide(A,B); x=mldivide(A(:,:,1),B(:,:,1)); X(:,:,1)-x Am I missing something obvious here, or is this a bug? I first assumed this is related to pagemldivide and pagefun(@mldivide,…) for gpuArray inputs return incorrect results…
Hi, I am working on a PCB resonator in which i use a coaxial Feedline as the feed definition, but i noticed as i change the radius of the pad and the antipad the frequency sweep changes. I used the…
Hello all, Subsystems in simulink and states in stateflow are colored with gradient background: <</matlabcentral/answers/uploaded_files/32044/Untitled.jpg>> is there a way to remove it? when I want to create an image for documentation it adds undesired "clutter" to the document. Regards, MosheHello…
I am able to deploy code generation onto the DSP (f28377d controlCARD R1.1). However I can’t execute a Processor-in-the-loop simulation. The serial comms seems to be issue. I get the below error after program has been downloaded to target. Can…
I want to numerically solve the equation system for two masses on springs, connected in series. Each mass is the same (m) and each spring constant is identical (k). The displacement of mass 1 is x1 and the displacement of…
Whenever I try to use some Python functions in MATLAB using the Python Interface, my MATLAB crashes. What can I do to avoid such a crash? Whenever I try to use some Python functions in MATLAB using the Python Interface,…
Hello, I´ve been experiencing problems with mdce. I have a CentOS machine with 4 processors (4×20 cores) and 320GB of RAM, currently 83 workers running. mdce-service.log keeps saying (several times): Group-10:out:PeerRmiDispatcher: Error in dispatch while sending return message: java.lang.OutOfMemoryError: Java…
I modelled a Virtual synchronous machine in MATLAB for my Phd but not getting the expected results. The active power output is very high to compare to the reference power and looks sinusoidal instead of following the reference power. The…