94,835 questions
0
votes
0
answers
22
views
MATLAB Bar Plot: Combine LOS-only and LOS+NLOS Values into a Single Bar with Highlighted Contribution
I'm working with a MATLAB script that visualizes coverage data for different modulation schemes (mCAP and OFDM) under four scenarios:
Beamsteering
No Beamsteering
Manual Orientation
Misalignment
...
-1
votes
0
answers
36
views
Try running speedup for octave [closed]
I was running a block of octave code that was too slow to handle for loops, looking for a solution.
The code executes the function in the for loop sequentially, the data has the superposition nature, ...
0
votes
1
answer
42
views
Is there a way to control extensively a resolution through the MOSEK solvers in Matpower?
I'm solving a Mixed Integer Linear Programming (MILP) problem using MATPOWER and MOSEK, in the context of Optimal Transmission Switching (OTS) for electric power system. This kind of problem is a set ...
0
votes
0
answers
23
views
ToC lists subsections for Python but not for MatLab Code
I am testing Sphinx to help documenting MatLab (and Python sometimes) code using the comments. After a lot of struggling, I managed to get both working but noticed that I don't get sub-levels on the ...
0
votes
0
answers
20
views
speech model using the Sum-of-Sinusoids method in Simulink/Matlab
can you please help me how can I create in Simulink a speech model using the Sum-of-Sinusoids method. The SoS parametric encoder allows speech coding at very low bit rates as well as editing/...
-1
votes
0
answers
147
views
Can someone help me understand why, in the Law of Large Numbers, the probability tends to zero as the sample size N increases? [closed]
enter image description hereI'm having trouble understanding why the probability that the sample mean deviates from the expected value by more than ε tends to zero as the sample size N increases in ...
0
votes
0
answers
42
views
Unwrap angle data
I'm trying to unrwap the data that I'm attaching (LINK)
time = ((1:1:length(angle)/100)'
figure;plot(time,data);
and I need values that are either between [0,2pi] or [-pi,pi] but when I use unwrap ...
0
votes
0
answers
26
views
How do I achieve maximum sample rates with NI digital output hardware and Matlab Data Acquisition Toolbox?
I apologize if this question is on the wrong site, but from my searching it seems this is the best place for it.
I have some NI data acquisition hardware, which I cannot seem to get to operate at it's ...
1
vote
0
answers
53
views
How can I fix point adding error on a quartic trajectory generation in matlab
I am working on generating a quartic trajectory with a quintic finish with known points and an acceleration limit on matlab. After creating this trajectory using the constants I calculated I am trying ...
0
votes
0
answers
40
views
Using ode45 inside of Simulink Matlab Function - MxArray error
I want to use ode45 inside of a Simulink MATLAB function to estimate the current position of a satellite for later use in my Simulink simulation. I have the orbital propagation equations defined in a ...
2
votes
0
answers
60
views
Upright \mu in MATLAB latex interpreter mode
I want to get a straight \mu in a MATLAB figure label. I use the LaTeX Interpreter since I want to use I tried this:
ylabel('$\hat{x}$ in $\mathrm{\mu}$m', 'Interpreter','latex');
and also using only ...
-1
votes
0
answers
32
views
i want to make a fractal fern in matlab [closed]
I want to make fern leaves in matlab using fractals. I followed the flow of the code in Cleve Moler's book, but it produces a white image and nothing appears.
and error in command
Error using matlab....
0
votes
0
answers
38
views
Problems with resize in Matlab [closed]
I'm using Matlab version 9.10.0.1710957 (R2021a) Update 4 and in this version I can´t use the resize function.
I plug the example - from the matlab guide:
A1 = [2; 8; 3]; m = 2 B1 = resize(A1,m)
When ...
0
votes
0
answers
35
views
Power spectrum and power spectral density in Matlab
I'm currently trying to analyze the spectrum of a prbs signal in order to better desing inputs for my experiments. However, I have some confusion so far. On one side, we can use Matlab's cpsd function ...
1
vote
1
answer
89
views
+100
Matlab image features extraction error (ifcb-analysis)
I am trying to use that code included in the file "start_blob_batch_user_training.m" in the ifcb-analysis set (https://github.com/hsosik/ifcb-analysis).
function [ ] = ...