Risposto
How do I Create an array of plots. The results disapear into "handle to deleted PolarCompassPlot" See code
You are calling compassplot() in a loop. By default, each call to compassplot() removes all existing graphics on the axes -- s...

circa un mese fa | 1

Risposto
Why does uint64([9007199254740993]) results in 9007199254740992? What happens to the least significant bit?
This result is expected. uint64([9007199254740993]) is processed as temp1 = double(9007199254740993); temp2 = [temp1]; outpu...

circa un mese fa | 0

Risposto
Inverse Problem, I have unknowns to solve it
A = squeeze(Sig_D(1,1,:)).'; B = squeeze(Sig_D(1,1,:)).'; C = squeeze(Sig_D(3,3,:)).'; D = squeeze(Sig_D(1,3,:)).'; F = squ...

circa un mese fa | 0

Risposto
How to make MATLAB use only physical cores
When you start a parpool, MATLAB asks the scheduler to run however-many tasks. It is up to the operating system scheduler as to ...

circa 2 mesi fa | 0

Risposto
Can't find Specialized Power Systems in Simscape
There is not specific Add-On for Specialized Power Systems. Specialized Power Systems is part of Simscape Electrical. That said...

circa 2 mesi fa | 0

Risposto
How to find the real roots and index root?
You need to be careful working with root indices. There is, as far as I know, no documentation as to what the root indices actu...

circa 2 mesi fa | 0

Risposto
License assignation after computer crash
Visit https://www.mathworks.com/mwaccount/?s_tid=user_nav_myac . Click on the line corresponding to the license in question. Cli...

circa 2 mesi fa | 0

Risposto
Can I use imported from matlab workspace matrix in simulink function block?
See https://www.mathworks.com/help/simulink/ug/migrate-models-to-use-dictionary.html for instructions on linking data dictionari...

circa 2 mesi fa | 0

Risposto
Current axis tick vector differ between having figure visible and invisible
Automatic ticks are not reliably computed until you make the figure visible again. As long as the figure is invisible, the plo...

circa 2 mesi fa | 0

| accettato

Risposto
Does split screen work in R2025b?
The trick for R2025b appears to be "undock editor". The screen will be split in the undocked session. If you then dock the edit...

circa 2 mesi fa | 1

| accettato

Risposto
Understanding recursion for decimal to binary conversion
The posted code has no recursion. In order for code to have recursion, there it must contain a chain of calls that end up calli...

circa 2 mesi fa | 0

Risposto
Is There an Inconsistency with How Unassigned Values are Filled After an Assignment into a Table?
T(3) = "abc" U(3) = datetime('now') x(3) = 5 So the filling is consistent with arrays.

circa 2 mesi fa | 0

Risposto
symbolic integrate and plot a function of one variable
The basic problem is that the integral that is produced by dsolve() is an indefinite integral, not a definite integral. That wor...

circa 2 mesi fa | 0

Discussion


I'm famous ;-)
I can't believe someone put time into this ;-)

circa 2 mesi fa | 0

Risposto
Opening an excel file, writing to it and closing it does not
excelWorkbook=Excel.workbooks.Open(ExcelOut) % Open Excel Excel.ActiveWorkbook.Save(); % Save Excel File The names must mat...

circa 2 mesi fa | 0

| accettato

Risposto
Functionality Simulink Add-block
Use convert blocks on the logical values to convert them to one of the int datatypes or to single or double precision. https://...

circa 2 mesi fa | 0

| accettato

Risposto
Activating a new license and deactivating the older one
Visit https://www.mathworks.com/mwaccount/?s_tid=user_nav_myac . Click on the line corresponding to the license in question. Cli...

circa 2 mesi fa | 0

Risposto
Defining inequality constraint A*x <= b for genetic algorithm
In order to have a hope of doing it through linear inequalities, you would have to first have a row that tested whether the firs...

circa 2 mesi fa | 0

Risposto
How to format both left and right of the decimal place with sprintf?
N = [964.155 9590.43 350.76 0.00]; fprintf('%07.2f\n', N)

circa 2 mesi fa | 0

| accettato

Risposto
Can "diary" be set to export exact text where hyperlinks are invoked instead of code or other characters?
No. In order for that to work, the entire file would need to be formatted as HTML. Formatting the file as HTML would involve mo...

circa 2 mesi fa | 1

| accettato

Risposto
Is there a way to set figure default to "undocked" when double-clicking on a .fig file?
set(groot, 'defaultFigureWindowStyle', 'normal') possibly ?

circa 2 mesi fa | 2

| accettato

Risposto
Copying data from variable to script
If you type in CalIndex = [] and then paste in the N x 2 table between the [ and the ] then everything will work out.

circa 2 mesi fa | 1

| accettato

Risposto
Why does fprintf attach a negative sign to a zero?
fprintf('%g %g\n', 0, -0) Negative zero is represented differently than non-negative zero, This is because it is mathematically...

circa 2 mesi fa | 0

Risposto
go back to previous if condition from an elseif in for loop
You have received some good answers already, but I wanted to show you how to do what you actually asked for. opt = [1 2 3 1]; ...

circa 2 mesi fa | 1

Risposto
Error getting in.
If you changed your Windows username, then you are probably receiving an Error 9, unauthorized user. By far the simplest way to...

2 mesi fa | 0

Risposto
using knob to adjust audio frequency
Use uiknob with the 'ValueChangedFcn' option to call a callback function that stores the new frequency. Beyond that will depend...

2 mesi fa | 0

Risposto
Is it possible to perform real-time low-pass filtering on the data received from the USRP X310 in Matlab
Any data you receive from the USRP will be packetized and will suffer from variable time delay. It is not possible to perform re...

2 mesi fa | 0

| accettato

Risposto
How to enable old style of 'figure'
There is no way to enable the old style of figures. The closest you can get is to set WindowStyle = 'normal' on the figure(), t...

2 mesi fa | 0

Risposto
how can i expose an AC electrical out of subsystem
Instructions for adding output ports to subsystems are given https://www.mathworks.com/help/simulink/ug/connect-subsystems.html ...

2 mesi fa | 0

| accettato

Risposto
How to build now that Specialized Power Systems library is GONE
Specialized Power Systems was restored as of R2025b Release 1. Use sps_lib to bring up the library browser. However, SPS will b...

2 mesi fa | 0

Carica altro