Author: PuTI
Producing Clutter IQ for arbitrary Waveform
I was looking at https://www.mathworks.com/help/radar/ug/simulating-radar-returns-from-moving-sea-surfaces.html and saw that the radarTransciever() object has a phased.LinearFMWaveform() object attributed to it. Upon looking at this i realize there are only a few types of waveforms available, and it seems NO custom IQ waveform that can be created into a object like phased.LinearFMWaveform() that i can use to define in the radarTransceiver() object and therefore execute the receive(scene).
Ultimately i need to generate IQ off sea surface, with an arbitrary waveform i have predefined/computed.
Is there a way to define a custom waveform that is compatible with what i am trying to do above? or is there another way to generate IQ clutter return with an arbitrary waveform?I was looking at https://www.mathworks.com/help/radar/ug/simulating-radar-returns-from-moving-sea-surfaces.html and saw that the radarTransciever() object has a phased.LinearFMWaveform() object attributed to it. Upon looking at this i realize there are only a few types of waveforms available, and it seems NO custom IQ waveform that can be created into a object like phased.LinearFMWaveform() that i can use to define in the radarTransceiver() object and therefore execute the receive(scene).
Ultimately i need to generate IQ off sea surface, with an arbitrary waveform i have predefined/computed.
Is there a way to define a custom waveform that is compatible with what i am trying to do above? or is there another way to generate IQ clutter return with an arbitrary waveform? I was looking at https://www.mathworks.com/help/radar/ug/simulating-radar-returns-from-moving-sea-surfaces.html and saw that the radarTransciever() object has a phased.LinearFMWaveform() object attributed to it. Upon looking at this i realize there are only a few types of waveforms available, and it seems NO custom IQ waveform that can be created into a object like phased.LinearFMWaveform() that i can use to define in the radarTransceiver() object and therefore execute the receive(scene).
Ultimately i need to generate IQ off sea surface, with an arbitrary waveform i have predefined/computed.
Is there a way to define a custom waveform that is compatible with what i am trying to do above? or is there another way to generate IQ clutter return with an arbitrary waveform? clutter, seasurface, iq, surfacereflectivity, surfacereflectivitysea MATLAB Answers — New Questions
splitapply does not retain ME stack
When the function that splitapply throws an error, this line number of this error is not include in the output (matlab2024b)
Example:
T=table([1:3]’);
G=findgroups(T);
splitapply(@fun, T, G);
function out = fun(varargin)
ERROR
end
This returns:
Error using splitapply>localsplitandapply (line 196)
Unable to apply the function ‘fun’ to the 1st group of data.
Error in splitapply (line 135)
varargout = localsplitandapply(fun,dataVars,gdiffed,sgnums,gdim,nargout);
Error in templateLoopOverAll (line 231)
splitapply(@fun, T, G);
Caused by:
Unrecognized function or variable ‘ERROR’.
I was expeting that the line number that actually caused that error would be included:
Error in testfile>fun (line 5)
ERROR
Error in testfile (line 3)
fun()
Missing this information makes the debugging of fun very challenging.
How to retrieve this line number?When the function that splitapply throws an error, this line number of this error is not include in the output (matlab2024b)
Example:
T=table([1:3]’);
G=findgroups(T);
splitapply(@fun, T, G);
function out = fun(varargin)
ERROR
end
This returns:
Error using splitapply>localsplitandapply (line 196)
Unable to apply the function ‘fun’ to the 1st group of data.
Error in splitapply (line 135)
varargout = localsplitandapply(fun,dataVars,gdiffed,sgnums,gdim,nargout);
Error in templateLoopOverAll (line 231)
splitapply(@fun, T, G);
Caused by:
Unrecognized function or variable ‘ERROR’.
I was expeting that the line number that actually caused that error would be included:
Error in testfile>fun (line 5)
ERROR
Error in testfile (line 3)
fun()
Missing this information makes the debugging of fun very challenging.
How to retrieve this line number? When the function that splitapply throws an error, this line number of this error is not include in the output (matlab2024b)
Example:
T=table([1:3]’);
G=findgroups(T);
splitapply(@fun, T, G);
function out = fun(varargin)
ERROR
end
This returns:
Error using splitapply>localsplitandapply (line 196)
Unable to apply the function ‘fun’ to the 1st group of data.
Error in splitapply (line 135)
varargout = localsplitandapply(fun,dataVars,gdiffed,sgnums,gdim,nargout);
Error in templateLoopOverAll (line 231)
splitapply(@fun, T, G);
Caused by:
Unrecognized function or variable ‘ERROR’.
I was expeting that the line number that actually caused that error would be included:
Error in testfile>fun (line 5)
ERROR
Error in testfile (line 3)
fun()
Missing this information makes the debugging of fun very challenging.
How to retrieve this line number? matlab internals, error handling MATLAB Answers — New Questions
Resolve this exercice please
Mathlab exerciceMathlab exercice Mathlab exercice matlab, matlab function MATLAB Answers — New Questions
Error in converting 2D Kalman filter to 3D.
I am receiving the following error when attempting to convert a 2D Kalman filter into 3D.
Non-uniform distribution of output to dynamically sized inputs in blocks.
PSA screenshot of error message.I am receiving the following error when attempting to convert a 2D Kalman filter into 3D.
Non-uniform distribution of output to dynamically sized inputs in blocks.
PSA screenshot of error message. I am receiving the following error when attempting to convert a 2D Kalman filter into 3D.
Non-uniform distribution of output to dynamically sized inputs in blocks.
PSA screenshot of error message. simulink MATLAB Answers — New Questions
Announcing Open to Work: How to Get Ahead in the Age of AI
The work we do, and the way we do it, is always changing. Each of us has a memory of how we once did a task regularly, the tools we used and how both the task and the tools have since changed so much they are nearly unrecognizable. Because we are living and working in the “now,” change feels both personal and fast, so it is always worth remembering that this has happened before, maybe not in just this way or with this speed.
And it is true. AI is rewriting work. How we do our jobs. How roles change. How careers are built. The skills we need. Some of that is exciting. Some of it can feel overwhelming. What we remember and have learned from previous times is that in moments like this, people are open to work and don’t just need new tools. They need a new mindset, a clearer understanding of what’s changing and a path forward.
That’s why today we’re announcing Open to Work: How to Get Ahead in the Age of AI, LinkedIn’s first book, by CEO Ryan Roslansky and Chief Economic Opportunity Officer Aneesh Raman. The book explores how AI is reshaping work and what that shift means for the people navigating it every day.
Microsoft and LinkedIn sit at the intersection of how work is done and how careers are built. We share a belief that the future of work will be driven by human creativity and ingenuity, not technology alone. When humans stay at the center, AI amplifies what people do best and creates new economic opportunity. Open to Work is grounded in that belief and focused on what’s happening now, not abstract predictions about the future.
Ryan’s leadership at LinkedIn and as head of engineering for Microsoft 365 Copilot gives him a rare perspective on this moment. He sees how AI is built, how it shows up in everyday work and what it takes to adapt. Aneesh’s role gives him unique insight into how together we can use this moment of change to create economic opportunity for every member of the global workforce.
The book is backed by real data — insights from experts, LinkedIn’s global network, Microsoft customers and the Work Trend Index. The goal isn’t hype. It’s clarity about how work is changing and how people can respond in practical, meaningful ways.
For professionals, Open to Work is about agency — what you delegate to AI, what skills to deepen and how you stay relevant as roles evolve. For leaders, it’s about rethinking how work gets organized and cultivating a Frontier mindset: the conviction that the most important innovations happen at the edges, where uncertainty is highest and the opportunity to shape what comes next is greatest. And for Microsoft and LinkedIn employees, it’s a reminder of the responsibility we share to shape the future of work in a thoughtful, human-centered way.
Open to Work publishes March 31 and is available for pre-order today.
Frank X. Shaw is responsible for defining and managing communications strategies worldwide, company-wide storytelling, product PR, media and analyst relations, executive communications, employee communications, global agency management and military affairs.
Top image: Aneesh Raman, left, LinkedIn chief economic opportunity officer, and Ryan Roslansky, LinkedIn CEO. Photo provided by LinkedIn.
The post Announcing Open to Work: How to Get Ahead in the Age of AI appeared first on The Official Microsoft Blog.
The work we do, and the way we do it, is always changing. Each of us has a memory of how we once did a task regularly, the tools we used and how both the task and the tools have since changed so much they are nearly unrecognizable. Because we are living and working in…
The post Announcing Open to Work: How to Get Ahead in the Age of AI appeared first on The Official Microsoft Blog.Read More
An easy way to input song chords into a structure of MATLAB
Hello. I’d like to know the way to enter the name of the song chords into the structure of MATLAB easily.
I do research about the related between chords and a piece of music, and I analyze the chords progression in MATLAB. Howerver, it takes too many time to enter the name of chords by hands like this;
chords = struct( …
‘name’, {}, … % name of chords(ex: ‘Cmaj7’)
‘start_sec’, {}, … % start time[s]
‘end_sec’, {} … % end time[s]
);
N=input(‘the number of chords: ‘);
BPM=input(‘BPM: ‘);
chords(1).start_sec=0;
for i=1:N
fprintf(‘n===== Chord %d =====n’, i);
chords(i).name=input(‘Name: ‘); %”
Start=input(‘Start beat: ‘);
chords(i).start_sec=(60/BPM)*4*(Start-1);
if i >= 2
chords(i-1).end_sec=(60/BPM)*4*(Start-1);
end
end
ends=input(‘End beat: ‘);
chords(N).end_sec=(60/BPM)*4*ends;
save("chords_yoruni.mat","chords");
I am a beginner when it comes to programming, so I don’t have any idea. I would like you to tell me even small things.
Thank you for your helpHello. I’d like to know the way to enter the name of the song chords into the structure of MATLAB easily.
I do research about the related between chords and a piece of music, and I analyze the chords progression in MATLAB. Howerver, it takes too many time to enter the name of chords by hands like this;
chords = struct( …
‘name’, {}, … % name of chords(ex: ‘Cmaj7’)
‘start_sec’, {}, … % start time[s]
‘end_sec’, {} … % end time[s]
);
N=input(‘the number of chords: ‘);
BPM=input(‘BPM: ‘);
chords(1).start_sec=0;
for i=1:N
fprintf(‘n===== Chord %d =====n’, i);
chords(i).name=input(‘Name: ‘); %”
Start=input(‘Start beat: ‘);
chords(i).start_sec=(60/BPM)*4*(Start-1);
if i >= 2
chords(i-1).end_sec=(60/BPM)*4*(Start-1);
end
end
ends=input(‘End beat: ‘);
chords(N).end_sec=(60/BPM)*4*ends;
save("chords_yoruni.mat","chords");
I am a beginner when it comes to programming, so I don’t have any idea. I would like you to tell me even small things.
Thank you for your help Hello. I’d like to know the way to enter the name of the song chords into the structure of MATLAB easily.
I do research about the related between chords and a piece of music, and I analyze the chords progression in MATLAB. Howerver, it takes too many time to enter the name of chords by hands like this;
chords = struct( …
‘name’, {}, … % name of chords(ex: ‘Cmaj7’)
‘start_sec’, {}, … % start time[s]
‘end_sec’, {} … % end time[s]
);
N=input(‘the number of chords: ‘);
BPM=input(‘BPM: ‘);
chords(1).start_sec=0;
for i=1:N
fprintf(‘n===== Chord %d =====n’, i);
chords(i).name=input(‘Name: ‘); %”
Start=input(‘Start beat: ‘);
chords(i).start_sec=(60/BPM)*4*(Start-1);
if i >= 2
chords(i-1).end_sec=(60/BPM)*4*(Start-1);
end
end
ends=input(‘End beat: ‘);
chords(N).end_sec=(60/BPM)*4*ends;
save("chords_yoruni.mat","chords");
I am a beginner when it comes to programming, so I don’t have any idea. I would like you to tell me even small things.
Thank you for your help music, input, chords MATLAB Answers — New Questions
LSTM encoder-decoder model
I’d like to make LSTM encoder-decoder model with deep learning toolbox, whichbased on this link(this is for making same model with Keras). I’m trying to make the timeseries prediction(seq2seq).
https://machinelearningmastery.com/how-to-develop-lstm-models-for-multi-step-time-series-forecasting-of-household-power-consumption/
However, the corresponded warper layer fucvtions(ex TimeDistributed, RepeatVector) are not found in the deep learnig tool box.
Is there any solutions to make LSTM encoder-decoder model with Matlab.I’d like to make LSTM encoder-decoder model with deep learning toolbox, whichbased on this link(this is for making same model with Keras). I’m trying to make the timeseries prediction(seq2seq).
https://machinelearningmastery.com/how-to-develop-lstm-models-for-multi-step-time-series-forecasting-of-household-power-consumption/
However, the corresponded warper layer fucvtions(ex TimeDistributed, RepeatVector) are not found in the deep learnig tool box.
Is there any solutions to make LSTM encoder-decoder model with Matlab. I’d like to make LSTM encoder-decoder model with deep learning toolbox, whichbased on this link(this is for making same model with Keras). I’m trying to make the timeseries prediction(seq2seq).
https://machinelearningmastery.com/how-to-develop-lstm-models-for-multi-step-time-series-forecasting-of-household-power-consumption/
However, the corresponded warper layer fucvtions(ex TimeDistributed, RepeatVector) are not found in the deep learnig tool box.
Is there any solutions to make LSTM encoder-decoder model with Matlab. deep learning, lstm, encoder-decoder MATLAB Answers — New Questions
Matlab appdesigner – unused (noexistent) “_Label” public properties remain – how to remove them?
Dear community,
In my appdesigner application I have removed / renamed components, but some of their (already renamed/removed) public "_Label" properties (i.e. grayed) remain, although they are not referenced anymore.
Is there any way to "cleanup" the code, or to manually remove them?
Thank you in advance!Dear community,
In my appdesigner application I have removed / renamed components, but some of their (already renamed/removed) public "_Label" properties (i.e. grayed) remain, although they are not referenced anymore.
Is there any way to "cleanup" the code, or to manually remove them?
Thank you in advance! Dear community,
In my appdesigner application I have removed / renamed components, but some of their (already renamed/removed) public "_Label" properties (i.e. grayed) remain, although they are not referenced anymore.
Is there any way to "cleanup" the code, or to manually remove them?
Thank you in advance! matlab appdesigner public properties MATLAB Answers — New Questions
Rules formation method using fuzzy c means clustering method.
I want to know about tool that automatically genreate the rules on the basis of dataset with fuzzy c means clustering method .Please explain with any dataset to generate rules automatically .It is very urgent for my study .I want to know about tool that automatically genreate the rules on the basis of dataset with fuzzy c means clustering method .Please explain with any dataset to generate rules automatically .It is very urgent for my study . I want to know about tool that automatically genreate the rules on the basis of dataset with fuzzy c means clustering method .Please explain with any dataset to generate rules automatically .It is very urgent for my study . fcm, fuzzy, mamdani, fis MATLAB Answers — New Questions
How to install Matlab R2025B on WSL Ubuntu
I have downloaded the matlab_R2025b_Linux zipped file from MATLABS and unzipped it in WSL. However, when I try to run ./install or sudo ./install, nothing happens. There was no GUI pop up for the installation.
Following the instructions from the Installation Help pdf did not help either.I have downloaded the matlab_R2025b_Linux zipped file from MATLABS and unzipped it in WSL. However, when I try to run ./install or sudo ./install, nothing happens. There was no GUI pop up for the installation.
Following the instructions from the Installation Help pdf did not help either. I have downloaded the matlab_R2025b_Linux zipped file from MATLABS and unzipped it in WSL. However, when I try to run ./install or sudo ./install, nothing happens. There was no GUI pop up for the installation.
Following the instructions from the Installation Help pdf did not help either. matlab MATLAB Answers — New Questions
How to check that a matlab.ui.Figure handle is deleted?
There is a waitbar() in my application that shows the progress of a simulation. When an error in the simulation occurs, or when I debug the application, the waitbar windows stay on screen and I have to delete them manually.
I installed a cleanup with
fwaitbar = waitbar(0,’Running simulation of ‘+toml(cname)+’…’);
cleanup = onCleanup(@()killwaitbar(fwaitbar));
…
function killwaitbar(f)
close(f);
end
However, in case there in no error, MATLAB still runs killwaitbar(), and I get the error
Error using close
Invalid figure handle.
Error in R_nests>killwaitbar (line 431)
close(f);
Error in R_nests>@()killwaitbar(fwaitbar) (line 73)
cleanup = onCleanup(@()killwaitbar(fwaitbar));
Error in onCleanup/delete (line 25)
obj.task();
Error in R_nests (line 153)
end
In workspace belonging to R_nests>killwaitbar (line 431)
How can I test for this in the callback? ‘f’ is of class matlab.ui.Figure, but isa(f,’matlab.ui.Figure’) does not say anything about being deleted.
I am sure there is better way to do this but can’t find it.There is a waitbar() in my application that shows the progress of a simulation. When an error in the simulation occurs, or when I debug the application, the waitbar windows stay on screen and I have to delete them manually.
I installed a cleanup with
fwaitbar = waitbar(0,’Running simulation of ‘+toml(cname)+’…’);
cleanup = onCleanup(@()killwaitbar(fwaitbar));
…
function killwaitbar(f)
close(f);
end
However, in case there in no error, MATLAB still runs killwaitbar(), and I get the error
Error using close
Invalid figure handle.
Error in R_nests>killwaitbar (line 431)
close(f);
Error in R_nests>@()killwaitbar(fwaitbar) (line 73)
cleanup = onCleanup(@()killwaitbar(fwaitbar));
Error in onCleanup/delete (line 25)
obj.task();
Error in R_nests (line 153)
end
In workspace belonging to R_nests>killwaitbar (line 431)
How can I test for this in the callback? ‘f’ is of class matlab.ui.Figure, but isa(f,’matlab.ui.Figure’) does not say anything about being deleted.
I am sure there is better way to do this but can’t find it. There is a waitbar() in my application that shows the progress of a simulation. When an error in the simulation occurs, or when I debug the application, the waitbar windows stay on screen and I have to delete them manually.
I installed a cleanup with
fwaitbar = waitbar(0,’Running simulation of ‘+toml(cname)+’…’);
cleanup = onCleanup(@()killwaitbar(fwaitbar));
…
function killwaitbar(f)
close(f);
end
However, in case there in no error, MATLAB still runs killwaitbar(), and I get the error
Error using close
Invalid figure handle.
Error in R_nests>killwaitbar (line 431)
close(f);
Error in R_nests>@()killwaitbar(fwaitbar) (line 73)
cleanup = onCleanup(@()killwaitbar(fwaitbar));
Error in onCleanup/delete (line 25)
obj.task();
Error in R_nests (line 153)
end
In workspace belonging to R_nests>killwaitbar (line 431)
How can I test for this in the callback? ‘f’ is of class matlab.ui.Figure, but isa(f,’matlab.ui.Figure’) does not say anything about being deleted.
I am sure there is better way to do this but can’t find it. waitbar, gui, cleanup, matlab.ui.figure MATLAB Answers — New Questions
Variables Window unusable in Matlab 2025
Unfortunately, the switch to MATLAB 2025 has made the Variable Editor unusable. This is due to two issues:
Variables are not displayed immediately in the Variable Editor. When double-clicking a variable in the workspace, sometimes one and sometimes two windows open—one of which is always empty and shows a loading circle.
When using copy-paste, entire rows or columns are no longer copied. Instead, only a portion is copied, which changes simply by scrolling within the Variable Editor.
As a result, I can no longer use MATLAB effectively, since I frequently need to copy and move large sets of measurement data.
Is this a known issue, or is my PC simply too old/slow/faulty?
Best regards,
JanUnfortunately, the switch to MATLAB 2025 has made the Variable Editor unusable. This is due to two issues:
Variables are not displayed immediately in the Variable Editor. When double-clicking a variable in the workspace, sometimes one and sometimes two windows open—one of which is always empty and shows a loading circle.
When using copy-paste, entire rows or columns are no longer copied. Instead, only a portion is copied, which changes simply by scrolling within the Variable Editor.
As a result, I can no longer use MATLAB effectively, since I frequently need to copy and move large sets of measurement data.
Is this a known issue, or is my PC simply too old/slow/faulty?
Best regards,
Jan Unfortunately, the switch to MATLAB 2025 has made the Variable Editor unusable. This is due to two issues:
Variables are not displayed immediately in the Variable Editor. When double-clicking a variable in the workspace, sometimes one and sometimes two windows open—one of which is always empty and shows a loading circle.
When using copy-paste, entire rows or columns are no longer copied. Instead, only a portion is copied, which changes simply by scrolling within the Variable Editor.
As a result, I can no longer use MATLAB effectively, since I frequently need to copy and move large sets of measurement data.
Is this a known issue, or is my PC simply too old/slow/faulty?
Best regards,
Jan variables windows, copy-paste, loading circle MATLAB Answers — New Questions
File Exchange entries not updating after new versions in GitHub
I am an administrator on two GitHub repos that have File Exchange entries:
https://www.mathworks.com/matlabcentral/fileexchange/134991-deepinterpolation-matlab
https://www.mathworks.com/matlabcentral/fileexchange/90900-brain-observatory-toolbox
Right now neither file exchange entry has updated (after 3 days) in response to a new version marked as "latest release" on the corresponding GitHub repos. Typically, they have in the past.
Any clues?I am an administrator on two GitHub repos that have File Exchange entries:
https://www.mathworks.com/matlabcentral/fileexchange/134991-deepinterpolation-matlab
https://www.mathworks.com/matlabcentral/fileexchange/90900-brain-observatory-toolbox
Right now neither file exchange entry has updated (after 3 days) in response to a new version marked as "latest release" on the corresponding GitHub repos. Typically, they have in the past.
Any clues? I am an administrator on two GitHub repos that have File Exchange entries:
https://www.mathworks.com/matlabcentral/fileexchange/134991-deepinterpolation-matlab
https://www.mathworks.com/matlabcentral/fileexchange/90900-brain-observatory-toolbox
Right now neither file exchange entry has updated (after 3 days) in response to a new version marked as "latest release" on the corresponding GitHub repos. Typically, they have in the past.
Any clues? file exchange, github MATLAB Answers — New Questions
How to share the same Referenced Configs on Multi-rate systems
I am working on a project with different Software Components in Simulink. The Components are intended to share the same Configuration. However the Sampling time can differ. For this purpose, the Sampling time is defined as a variable "Ts". Every Software component has, on its own data dictionary, a variable "Ts" .
However, when I try to place both Software components (as referenced subsystems) on a model (for Model in Loop simulation), I get the following error:
Symbol ‘Ts’ has multiple inconsistent definitions:
Caused by:
value=0.2 in Model1.sldd (Update others to match)
value=0.025 in Model2.sldd (Update others to match)
Component:Simulink | Category:Model error
Is it possible to still use the same referenced configuration for all the models, in a way that simulations with two or more Software Components with different data rates still work?I am working on a project with different Software Components in Simulink. The Components are intended to share the same Configuration. However the Sampling time can differ. For this purpose, the Sampling time is defined as a variable "Ts". Every Software component has, on its own data dictionary, a variable "Ts" .
However, when I try to place both Software components (as referenced subsystems) on a model (for Model in Loop simulation), I get the following error:
Symbol ‘Ts’ has multiple inconsistent definitions:
Caused by:
value=0.2 in Model1.sldd (Update others to match)
value=0.025 in Model2.sldd (Update others to match)
Component:Simulink | Category:Model error
Is it possible to still use the same referenced configuration for all the models, in a way that simulations with two or more Software Components with different data rates still work? I am working on a project with different Software Components in Simulink. The Components are intended to share the same Configuration. However the Sampling time can differ. For this purpose, the Sampling time is defined as a variable "Ts". Every Software component has, on its own data dictionary, a variable "Ts" .
However, when I try to place both Software components (as referenced subsystems) on a model (for Model in Loop simulation), I get the following error:
Symbol ‘Ts’ has multiple inconsistent definitions:
Caused by:
value=0.2 in Model1.sldd (Update others to match)
value=0.025 in Model2.sldd (Update others to match)
Component:Simulink | Category:Model error
Is it possible to still use the same referenced configuration for all the models, in a way that simulations with two or more Software Components with different data rates still work? simulink MATLAB Answers — New Questions
solving a system of linear equations where A is a 40*40 sparse matrix
Hi there,
I am solving a system of linear equations A*x=b , where A is a 40*40 sparse matrix. Should I use inv or to reach a more precise answer x?Hi there,
I am solving a system of linear equations A*x=b , where A is a 40*40 sparse matrix. Should I use inv or to reach a more precise answer x? Hi there,
I am solving a system of linear equations A*x=b , where A is a 40*40 sparse matrix. Should I use inv or to reach a more precise answer x? sparse matrix, a system of linear equations MATLAB Answers — New Questions
I have changed schools, and the old academic email no longer works, how do I link my student license to a new email?
I am attending a different university, and my old email address that is linked to my student license is no longer active. How do I link my license to a new academic email account.I am attending a different university, and my old email address that is linked to my student license is no longer active. How do I link my license to a new academic email account. I am attending a different university, and my old email address that is linked to my student license is no longer active. How do I link my license to a new academic email account. new email MATLAB Answers — New Questions
Request to rehost MATLAB network license (1102419) to new server IP
the user, trying to install MATLAB on their lab server’s head node for SLURM usage. The earlier license I received from SERC is not valid as it is locked to a different IP address than what is being used by our server.
The current license is bound to:
HostID (INTERNET): 10.16.4.41
Whereas our lab server’s primary IP address is:
10.10.100.152
Could you please rehost MATLAB network license 1102419 in the MathWorks License Center to this new IP (10.10.100.152) and provide the updated network license file or passcode for R2025b?
We already have MATLAB and the Network License Manager installed on the server; only the rehosted license is required to bring the system online.the user, trying to install MATLAB on their lab server’s head node for SLURM usage. The earlier license I received from SERC is not valid as it is locked to a different IP address than what is being used by our server.
The current license is bound to:
HostID (INTERNET): 10.16.4.41
Whereas our lab server’s primary IP address is:
10.10.100.152
Could you please rehost MATLAB network license 1102419 in the MathWorks License Center to this new IP (10.10.100.152) and provide the updated network license file or passcode for R2025b?
We already have MATLAB and the Network License Manager installed on the server; only the rehosted license is required to bring the system online. the user, trying to install MATLAB on their lab server’s head node for SLURM usage. The earlier license I received from SERC is not valid as it is locked to a different IP address than what is being used by our server.
The current license is bound to:
HostID (INTERNET): 10.16.4.41
Whereas our lab server’s primary IP address is:
10.10.100.152
Could you please rehost MATLAB network license 1102419 in the MathWorks License Center to this new IP (10.10.100.152) and provide the updated network license file or passcode for R2025b?
We already have MATLAB and the Network License Manager installed on the server; only the rehosted license is required to bring the system online. rehost MATLAB Answers — New Questions
PID Controller output the results of integral gain
Can the Discrete PID Controller module output the results of integral gain in real-time?Can the Discrete PID Controller module output the results of integral gain in real-time? Can the Discrete PID Controller module output the results of integral gain in real-time? simulink, pid module MATLAB Answers — New Questions
i complete the simulink,but have to calculate the response time,thd and efficiency for dvr with flc.how can i sort out this?
dvr with flc for power quality improvement. i have to find out response time,thd,efficency, how to sort out this. can anyone help me with this.dvr with flc for power quality improvement. i have to find out response time,thd,efficency, how to sort out this. can anyone help me with this. dvr with flc for power quality improvement. i have to find out response time,thd,efficency, how to sort out this. can anyone help me with this. matlab, simulation MATLAB Answers — New Questions
How can I calculate the Variance Inflation Factor (VIF) for a linear regression model
I have a long set of linear models developed from a space-filling DOE I ran. Many of the parameters in the DOE are correlated to different degrees and I’m interested in calculating the VIF of each parameter, and recalculating the model if the VIF for some parameters is high. I saw this code in another answer https://www.mathworks.com/matlabcentral/answers/1964984-tolerance-value-and-variance-inflation-factor-in-stepwiselm
% Define the predictors and response variable
X = [x1, x2, x3, x4, x5];
Y = y;
% Define the options for stepwise regression
options = statset(‘Display’,’iter’, ‘TolFun’, 0.01, ‘TolTypeFun’, ‘rel’, ‘PEnter’, 0.05, ‘PRemove’, 0.1);
% Run the stepwise regression with predefined multicollinearity threshold settings
mdl = stepwiselm(X, Y, ‘Criterion’, ‘bic’, ‘Upper’, ‘linear’, ‘Lower’, ‘constant’, ‘PEnter’, 0.05, ‘PRemove’, 0.1, ‘Verbose’, 1, ‘Options’, options);
% Check the multicollinearity
[vif, tolerance] = vif(mdl);
% Check for variable inclusion
included_vars = mdl.predictorNames(mdl.Coefficients.Estimate ~= 0);
However, I ran into a couple problems when trying to execute this snippet.
1) statset doesn’t take ‘PEnter’ or ‘PRemove’ as arguments. Removing those two arguments allowed that line to run.
2) stepwiselm doesn’t seem to take ‘Options’ as a valid argument
3) I can’t seem to find a function called vif that takes a linear model object as an argument
I have the curve fitting, data acquisition, deep learning, and statistics toolboxes installed. If there is another toolbox with applicable functions I can install that as well.I have a long set of linear models developed from a space-filling DOE I ran. Many of the parameters in the DOE are correlated to different degrees and I’m interested in calculating the VIF of each parameter, and recalculating the model if the VIF for some parameters is high. I saw this code in another answer https://www.mathworks.com/matlabcentral/answers/1964984-tolerance-value-and-variance-inflation-factor-in-stepwiselm
% Define the predictors and response variable
X = [x1, x2, x3, x4, x5];
Y = y;
% Define the options for stepwise regression
options = statset(‘Display’,’iter’, ‘TolFun’, 0.01, ‘TolTypeFun’, ‘rel’, ‘PEnter’, 0.05, ‘PRemove’, 0.1);
% Run the stepwise regression with predefined multicollinearity threshold settings
mdl = stepwiselm(X, Y, ‘Criterion’, ‘bic’, ‘Upper’, ‘linear’, ‘Lower’, ‘constant’, ‘PEnter’, 0.05, ‘PRemove’, 0.1, ‘Verbose’, 1, ‘Options’, options);
% Check the multicollinearity
[vif, tolerance] = vif(mdl);
% Check for variable inclusion
included_vars = mdl.predictorNames(mdl.Coefficients.Estimate ~= 0);
However, I ran into a couple problems when trying to execute this snippet.
1) statset doesn’t take ‘PEnter’ or ‘PRemove’ as arguments. Removing those two arguments allowed that line to run.
2) stepwiselm doesn’t seem to take ‘Options’ as a valid argument
3) I can’t seem to find a function called vif that takes a linear model object as an argument
I have the curve fitting, data acquisition, deep learning, and statistics toolboxes installed. If there is another toolbox with applicable functions I can install that as well. I have a long set of linear models developed from a space-filling DOE I ran. Many of the parameters in the DOE are correlated to different degrees and I’m interested in calculating the VIF of each parameter, and recalculating the model if the VIF for some parameters is high. I saw this code in another answer https://www.mathworks.com/matlabcentral/answers/1964984-tolerance-value-and-variance-inflation-factor-in-stepwiselm
% Define the predictors and response variable
X = [x1, x2, x3, x4, x5];
Y = y;
% Define the options for stepwise regression
options = statset(‘Display’,’iter’, ‘TolFun’, 0.01, ‘TolTypeFun’, ‘rel’, ‘PEnter’, 0.05, ‘PRemove’, 0.1);
% Run the stepwise regression with predefined multicollinearity threshold settings
mdl = stepwiselm(X, Y, ‘Criterion’, ‘bic’, ‘Upper’, ‘linear’, ‘Lower’, ‘constant’, ‘PEnter’, 0.05, ‘PRemove’, 0.1, ‘Verbose’, 1, ‘Options’, options);
% Check the multicollinearity
[vif, tolerance] = vif(mdl);
% Check for variable inclusion
included_vars = mdl.predictorNames(mdl.Coefficients.Estimate ~= 0);
However, I ran into a couple problems when trying to execute this snippet.
1) statset doesn’t take ‘PEnter’ or ‘PRemove’ as arguments. Removing those two arguments allowed that line to run.
2) stepwiselm doesn’t seem to take ‘Options’ as a valid argument
3) I can’t seem to find a function called vif that takes a linear model object as an argument
I have the curve fitting, data acquisition, deep learning, and statistics toolboxes installed. If there is another toolbox with applicable functions I can install that as well. regression, curve fitting MATLAB Answers — New Questions









