Month: August 2024
One Drive Frozen
I have recovered access to one Drive and it says it is frozen, I click on upgrade and says I have a subscription.
I seem to be in a loop where my one Drive cannot be accessed.
Please help
I have recovered access to one Drive and it says it is frozen, I click on upgrade and says I have a subscription. I seem to be in a loop where my one Drive cannot be accessed. Please help Read More
Hand Gestures not working on HoloLens 2
Hi folks,
I created an MR application on HoloLens 2 and was working fine. One day, the device went to sleep when the application was running and when i turned on the device again, the hand gestures (scaling, positioning and rotating) are not working at all. And also, the issue occurred on every app i made with Unity before. I did factory reset on the device and even then its not solved. I have two HoloLens with me and both of them are having this hand gestures issue now.
I’m in a desperate situation. Please help me out with a solution for this…
Hi folks,I created an MR application on HoloLens 2 and was working fine. One day, the device went to sleep when the application was running and when i turned on the device again, the hand gestures (scaling, positioning and rotating) are not working at all. And also, the issue occurred on every app i made with Unity before. I did factory reset on the device and even then its not solved. I have two HoloLens with me and both of them are having this hand gestures issue now. I’m in a desperate situation. Please help me out with a solution for this… Read More
Defender for Endpoint – Viewing Alerts and Recommended Config Profile for Linuc
Hi
We have a fleet of around 1000 RHEL 7.2 systems that we wish to onboard to Microsoft Defender. There are a mix of DEV, Pre-Prod, PROD and run Web, DB + enterprise Apps for the business. We want to ensure that we can simply onboard them with least business disruption, so thinking to start with Anti-virus in “Passive” mode as described here–> https://learn.microsoft.com/en-us/defender-endpoint/linux-preferences#enforcement-level-for-antivirus-engine
Want to clarify the following:
If we on board these devices with AV set to “Passive”, the AV will catch the threats / malicious actions, but will not take any action – is that correct?When we publish a Linux configuration profile using to Linux systems that’s detailed here–> https://learn.microsoft.com/en-us/defender-endpoint/linux-preferences and if they have the AV set to “passive” mode, will they start reporting the alerts raised by AV component to Defender portal? Is this handled by EDR?What’s the significance of this particular setting “Report AV Suspicious Events to EDR“. Does this setting enable/disable the raised alerts for Linux endpoints to be reported to Defender portal? If yes, is there a way to filter this telemetry just for Linux systems?Is it fair to say that reviewing this telemetry provides enough (or all) the information to plan what configuration profile for Linux (for example, what files/paths/actions are currently raising alerts, so we can review them and create appropriate exceptions)?Is there any recommendation from Microsoft around safe / good start when planning the configuration profile for Linux systems to ensure minimum business disruption?
Thanks
Taranjeet Singh
HiWe have a fleet of around 1000 RHEL 7.2 systems that we wish to onboard to Microsoft Defender. There are a mix of DEV, Pre-Prod, PROD and run Web, DB + enterprise Apps for the business. We want to ensure that we can simply onboard them with least business disruption, so thinking to start with Anti-virus in “Passive” mode as described here–> https://learn.microsoft.com/en-us/defender-endpoint/linux-preferences#enforcement-level-for-antivirus-engine Want to clarify the following:If we on board these devices with AV set to “Passive”, the AV will catch the threats / malicious actions, but will not take any action – is that correct?When we publish a Linux configuration profile using to Linux systems that’s detailed here–> https://learn.microsoft.com/en-us/defender-endpoint/linux-preferences and if they have the AV set to “passive” mode, will they start reporting the alerts raised by AV component to Defender portal? Is this handled by EDR?What’s the significance of this particular setting “Report AV Suspicious Events to EDR”. Does this setting enable/disable the raised alerts for Linux endpoints to be reported to Defender portal? If yes, is there a way to filter this telemetry just for Linux systems?Is it fair to say that reviewing this telemetry provides enough (or all) the information to plan what configuration profile for Linux (for example, what files/paths/actions are currently raising alerts, so we can review them and create appropriate exceptions)?Is there any recommendation from Microsoft around safe / good start when planning the configuration profile for Linux systems to ensure minimum business disruption? ThanksTaranjeet Singh Read More
How to change xlim to specific range only?
a=xlsread(‘output1.xlsx’,’final graph’);
xaxis=0:9;
yaxis=a(:,2);
yaxis1=a(:,3);
yaxis=a(:,4);
yaxis2=a(:,5);
figure
plot(xaxis,yaxis)
hold on
plot(xaxis,yaxis1)
hold on
plot(xaxis,yaxis2)
how to change xlim to specific to 0 :3:9 ylim to 30:30:300 how to insert data tips or markers at each point of xaxisa=xlsread(‘output1.xlsx’,’final graph’);
xaxis=0:9;
yaxis=a(:,2);
yaxis1=a(:,3);
yaxis=a(:,4);
yaxis2=a(:,5);
figure
plot(xaxis,yaxis)
hold on
plot(xaxis,yaxis1)
hold on
plot(xaxis,yaxis2)
how to change xlim to specific to 0 :3:9 ylim to 30:30:300 how to insert data tips or markers at each point of xaxis a=xlsread(‘output1.xlsx’,’final graph’);
xaxis=0:9;
yaxis=a(:,2);
yaxis1=a(:,3);
yaxis=a(:,4);
yaxis2=a(:,5);
figure
plot(xaxis,yaxis)
hold on
plot(xaxis,yaxis1)
hold on
plot(xaxis,yaxis2)
how to change xlim to specific to 0 :3:9 ylim to 30:30:300 how to insert data tips or markers at each point of xaxis tick marks MATLAB Answers — New Questions
How to correctly calculate three-phase voltage at the PCC parallel point when placing a STATCOM?
I simulated STATCOM model and found that the calculated voltage at PCC point is not correct with the discrete solver used, how to get the correct voltage? Here is the model file I built.Thanks.It seems that the PCC voltage is not solved correctly.I simulated STATCOM model and found that the calculated voltage at PCC point is not correct with the discrete solver used, how to get the correct voltage? Here is the model file I built.Thanks.It seems that the PCC voltage is not solved correctly. I simulated STATCOM model and found that the calculated voltage at PCC point is not correct with the discrete solver used, how to get the correct voltage? Here is the model file I built.Thanks.It seems that the PCC voltage is not solved correctly. power_electronics_control, static reactive power compensator, three-phase inverter MATLAB Answers — New Questions
Why is matlab creating multiple figures
I have a picture of the code and part of what its doing when I run it but it is creating hundreds of figures of the two plots I’m trying to create. Clearly I’m missing somethingI have a picture of the code and part of what its doing when I run it but it is creating hundreds of figures of the two plots I’m trying to create. Clearly I’m missing something I have a picture of the code and part of what its doing when I run it but it is creating hundreds of figures of the two plots I’m trying to create. Clearly I’m missing something matlab MATLAB Answers — New Questions
how to get data from fig use matlab
hi, i want get four colums data from the following fig, how to use matlab to realize this.hi, i want get four colums data from the following fig, how to use matlab to realize this. hi, i want get four colums data from the following fig, how to use matlab to realize this. matlab, data read MATLAB Answers — New Questions
any way to check joining teams call/conference is from which device?
user said he did not make any teams call/conference but however, when checking user past meetings in teams admin portal, the user indeed make a conference call.
any way to check joining teams call/conference is from which device?
user said he did not make any teams call/conference but however, when checking user past meetings in teams admin portal, the user indeed make a conference call. any way to check joining teams call/conference is from which device? Read More
Two graphics in header: one aligned to left margin; the other aligned to right margin
I’m using MS Word 2021 for macOS. I would like to place two graphics in the header of my Word letterhead with one aligned to the left margin and the other aligned to the right margin. Seems simple enough but I can’t figure out how to accomplish this. The Align menu in the Picture Format is almost completely grayed out. I can’t find any other controls that allow me to assign an alignment to individual elements in the header. Is this possible?
Thank you.
I’m using MS Word 2021 for macOS. I would like to place two graphics in the header of my Word letterhead with one aligned to the left margin and the other aligned to the right margin. Seems simple enough but I can’t figure out how to accomplish this. The Align menu in the Picture Format is almost completely grayed out. I can’t find any other controls that allow me to assign an alignment to individual elements in the header. Is this possible? Thank you. Read More
Word spell check and some words with first letter capitalised
Hey all,
Word 16.0.17830.20056.
When typing the two words Hapy or Geneal, Word does not show them as being possible incorrect spellings. However typing hapy or geneal it does underline them red.
I can see that Hapy is an ancient Egyptian God and that Geneal is an abbreviation for genealogy, but I didn’t think that would be enough for Word to say these words are ok, particularly Geneal with a capitalisation.
Does anyone know the reason for the behaviour regarding these two words?
thanks
j
Hey all, Word 16.0.17830.20056. When typing the two words Hapy or Geneal, Word does not show them as being possible incorrect spellings. However typing hapy or geneal it does underline them red. I can see that Hapy is an ancient Egyptian God and that Geneal is an abbreviation for genealogy, but I didn’t think that would be enough for Word to say these words are ok, particularly Geneal with a capitalisation. Does anyone know the reason for the behaviour regarding these two words? thanks j Read More
Programmatically to get member data type in In Bus Element Block
Hello everyone
i would like to get data type of member in the bus element
could anyone suggest me with an example codeHello everyone
i would like to get data type of member in the bus element
could anyone suggest me with an example code Hello everyone
i would like to get data type of member in the bus element
could anyone suggest me with an example code in bus element MATLAB Answers — New Questions
Error using mkdir with “lock folders” in a parfor loop
I am writing parfor loops and using folders as "lock files" for thread safety because mkdir is atomic and I believe is therefore the best option in MATLAB for a "lock file". However, I am getting the following error:
Error using makeLockFile
The system cannot find the path specified.
This error occurs on the line in makeLockFile containing
mkdir(pidPath);
Here is my code for makeLockFile (top), releaseLockFile (middle), and the helper function getMATLABPids (bottom):
What I am trying to do is:
Create a "lock folder". This folder has the same path as a .mat file (except the extension of course). If it exists, that means a MATLAB instance is using the corresponding .mat file.
If successful, create a subfolder named as the instance’s process ID, and return. This is where the issue is!
If unsuccessful, that means another process has locked this variable. In that case, remove any previous (now inactive) process’s lock subfolders that were left behind due to interrupted processes (this ensures that a process that is no longer running is not the sole reason for a lock). Then try deleting the lock folder. If that fails, pause and repeat.
When I encounter the above error, I can restart the process and then it runs all the way through, so I know it’s not a path correctness issue.
I don’t know how to debug this any further, I’ve been using disp() but can’t make heads or tails of why mkdir would ever fail in this context.
function [pidPath, status] = makeLockFile(lockFolderPath)
%% PURPOSE: CREATE A LOCK FOLDER, BECAUSE MKDIR IS ATOMIC.
% Clean the lockFolderPath and add the process ID.
[folderPath, folderName] = fileparts(lockFolderPath);
pid = num2str(feature(‘getpid’)); % Get MATLAB instance’s process ID.
lockFolderPath = [folderPath filesep folderName];
pidPath = [lockFolderPath filesep pid];
status=false;
while ~status
disp([‘PID: ‘ pid ‘ Lock Folder: ‘ lockFolderPath]);
[status, message, messageID] = mkdir(lockFolderPath);
try
if ~status
% The variable is locked.
% Get the listing of all folders in the variable folder
items = dir(lockFolderPath);
folderItems = items([items.isdir]);
folderNames = {folderItems.name};
folderNames(ismember(folderNames, {‘.’, ‘..’})) = []; % Remove ‘.’ and ‘..’
% Get all of the active MATLAB PID’s
pids = getMATLABPids();
% Remove the inactive (leftover from previous processes) PID’s
inactivePIDs = folderNames(~ismember(folderNames, pids));
for i = 1:length(inactivePIDs)
rmdir([lockFolderPath filesep inactivePIDs{i}]);
end
% Try releasing the lock folder. Has no effect if folder is not
% empty (i.e. active process folders present)
releaseLockFile(pidPath);
continue;
else
% Make the folder for this specific process ID
mkdir(pidPath);
end
catch ME
disp([‘ERROR PID: ‘ pid ‘ Lock Folder Path: ‘ pidPath]);
disp({ME.stack.file});
disp({ME.stack.name});
disp({ME.stack.line});
rethrow(ME);
end
end
end
function [] = releaseLockFile(pidPath)
%% PURPOSE: RELEASE THE LOCK FILE.
status = rmdir(pidPath); % PID-specific folder.
pid = feature(‘getpid’);
lockFolderPath = fileparts(pidPath); % Parent folder (the lock folder)
status = rmdir(lockFolderPath); % Remove the folder only if it is empty.
end
function [pids] = getMATLABPids()
%% PURPOSE: GET ALL OF THE PROCESS ID’S FOR ALL MATLAB INSTANCES
if ispc==1
% Execute the command to get a list of all running MATLAB processes
[status, result] = system(‘tasklist /FI "IMAGENAME eq matlab.exe" /FO LIST’);
% Check if the command was successful
if status == 0
% Process the result to extract PIDs
lines = strsplit(result, ‘n’);
pids = [];
for i = 1:length(lines)
line = strtrim(lines{i});
if startsWith(line, ‘PID:’)
pid = extractAfter(line, ‘PID:’);
pids = [pids; {pid}];
end
end
else
error(‘Failed to execute system command. Status: %d’, status);
end
else
% Execute the command to get PIDs of running MATLAB processes
[status, result] = system(‘pgrep matlab’);
% Check if the command was successful
if status == 0
% Process the result to extract PIDs
pids = strsplit(strtrim(result));
else
error(‘Failed to execute system command. Status: %d’, status);
end
end
endI am writing parfor loops and using folders as "lock files" for thread safety because mkdir is atomic and I believe is therefore the best option in MATLAB for a "lock file". However, I am getting the following error:
Error using makeLockFile
The system cannot find the path specified.
This error occurs on the line in makeLockFile containing
mkdir(pidPath);
Here is my code for makeLockFile (top), releaseLockFile (middle), and the helper function getMATLABPids (bottom):
What I am trying to do is:
Create a "lock folder". This folder has the same path as a .mat file (except the extension of course). If it exists, that means a MATLAB instance is using the corresponding .mat file.
If successful, create a subfolder named as the instance’s process ID, and return. This is where the issue is!
If unsuccessful, that means another process has locked this variable. In that case, remove any previous (now inactive) process’s lock subfolders that were left behind due to interrupted processes (this ensures that a process that is no longer running is not the sole reason for a lock). Then try deleting the lock folder. If that fails, pause and repeat.
When I encounter the above error, I can restart the process and then it runs all the way through, so I know it’s not a path correctness issue.
I don’t know how to debug this any further, I’ve been using disp() but can’t make heads or tails of why mkdir would ever fail in this context.
function [pidPath, status] = makeLockFile(lockFolderPath)
%% PURPOSE: CREATE A LOCK FOLDER, BECAUSE MKDIR IS ATOMIC.
% Clean the lockFolderPath and add the process ID.
[folderPath, folderName] = fileparts(lockFolderPath);
pid = num2str(feature(‘getpid’)); % Get MATLAB instance’s process ID.
lockFolderPath = [folderPath filesep folderName];
pidPath = [lockFolderPath filesep pid];
status=false;
while ~status
disp([‘PID: ‘ pid ‘ Lock Folder: ‘ lockFolderPath]);
[status, message, messageID] = mkdir(lockFolderPath);
try
if ~status
% The variable is locked.
% Get the listing of all folders in the variable folder
items = dir(lockFolderPath);
folderItems = items([items.isdir]);
folderNames = {folderItems.name};
folderNames(ismember(folderNames, {‘.’, ‘..’})) = []; % Remove ‘.’ and ‘..’
% Get all of the active MATLAB PID’s
pids = getMATLABPids();
% Remove the inactive (leftover from previous processes) PID’s
inactivePIDs = folderNames(~ismember(folderNames, pids));
for i = 1:length(inactivePIDs)
rmdir([lockFolderPath filesep inactivePIDs{i}]);
end
% Try releasing the lock folder. Has no effect if folder is not
% empty (i.e. active process folders present)
releaseLockFile(pidPath);
continue;
else
% Make the folder for this specific process ID
mkdir(pidPath);
end
catch ME
disp([‘ERROR PID: ‘ pid ‘ Lock Folder Path: ‘ pidPath]);
disp({ME.stack.file});
disp({ME.stack.name});
disp({ME.stack.line});
rethrow(ME);
end
end
end
function [] = releaseLockFile(pidPath)
%% PURPOSE: RELEASE THE LOCK FILE.
status = rmdir(pidPath); % PID-specific folder.
pid = feature(‘getpid’);
lockFolderPath = fileparts(pidPath); % Parent folder (the lock folder)
status = rmdir(lockFolderPath); % Remove the folder only if it is empty.
end
function [pids] = getMATLABPids()
%% PURPOSE: GET ALL OF THE PROCESS ID’S FOR ALL MATLAB INSTANCES
if ispc==1
% Execute the command to get a list of all running MATLAB processes
[status, result] = system(‘tasklist /FI "IMAGENAME eq matlab.exe" /FO LIST’);
% Check if the command was successful
if status == 0
% Process the result to extract PIDs
lines = strsplit(result, ‘n’);
pids = [];
for i = 1:length(lines)
line = strtrim(lines{i});
if startsWith(line, ‘PID:’)
pid = extractAfter(line, ‘PID:’);
pids = [pids; {pid}];
end
end
else
error(‘Failed to execute system command. Status: %d’, status);
end
else
% Execute the command to get PIDs of running MATLAB processes
[status, result] = system(‘pgrep matlab’);
% Check if the command was successful
if status == 0
% Process the result to extract PIDs
pids = strsplit(strtrim(result));
else
error(‘Failed to execute system command. Status: %d’, status);
end
end
end I am writing parfor loops and using folders as "lock files" for thread safety because mkdir is atomic and I believe is therefore the best option in MATLAB for a "lock file". However, I am getting the following error:
Error using makeLockFile
The system cannot find the path specified.
This error occurs on the line in makeLockFile containing
mkdir(pidPath);
Here is my code for makeLockFile (top), releaseLockFile (middle), and the helper function getMATLABPids (bottom):
What I am trying to do is:
Create a "lock folder". This folder has the same path as a .mat file (except the extension of course). If it exists, that means a MATLAB instance is using the corresponding .mat file.
If successful, create a subfolder named as the instance’s process ID, and return. This is where the issue is!
If unsuccessful, that means another process has locked this variable. In that case, remove any previous (now inactive) process’s lock subfolders that were left behind due to interrupted processes (this ensures that a process that is no longer running is not the sole reason for a lock). Then try deleting the lock folder. If that fails, pause and repeat.
When I encounter the above error, I can restart the process and then it runs all the way through, so I know it’s not a path correctness issue.
I don’t know how to debug this any further, I’ve been using disp() but can’t make heads or tails of why mkdir would ever fail in this context.
function [pidPath, status] = makeLockFile(lockFolderPath)
%% PURPOSE: CREATE A LOCK FOLDER, BECAUSE MKDIR IS ATOMIC.
% Clean the lockFolderPath and add the process ID.
[folderPath, folderName] = fileparts(lockFolderPath);
pid = num2str(feature(‘getpid’)); % Get MATLAB instance’s process ID.
lockFolderPath = [folderPath filesep folderName];
pidPath = [lockFolderPath filesep pid];
status=false;
while ~status
disp([‘PID: ‘ pid ‘ Lock Folder: ‘ lockFolderPath]);
[status, message, messageID] = mkdir(lockFolderPath);
try
if ~status
% The variable is locked.
% Get the listing of all folders in the variable folder
items = dir(lockFolderPath);
folderItems = items([items.isdir]);
folderNames = {folderItems.name};
folderNames(ismember(folderNames, {‘.’, ‘..’})) = []; % Remove ‘.’ and ‘..’
% Get all of the active MATLAB PID’s
pids = getMATLABPids();
% Remove the inactive (leftover from previous processes) PID’s
inactivePIDs = folderNames(~ismember(folderNames, pids));
for i = 1:length(inactivePIDs)
rmdir([lockFolderPath filesep inactivePIDs{i}]);
end
% Try releasing the lock folder. Has no effect if folder is not
% empty (i.e. active process folders present)
releaseLockFile(pidPath);
continue;
else
% Make the folder for this specific process ID
mkdir(pidPath);
end
catch ME
disp([‘ERROR PID: ‘ pid ‘ Lock Folder Path: ‘ pidPath]);
disp({ME.stack.file});
disp({ME.stack.name});
disp({ME.stack.line});
rethrow(ME);
end
end
end
function [] = releaseLockFile(pidPath)
%% PURPOSE: RELEASE THE LOCK FILE.
status = rmdir(pidPath); % PID-specific folder.
pid = feature(‘getpid’);
lockFolderPath = fileparts(pidPath); % Parent folder (the lock folder)
status = rmdir(lockFolderPath); % Remove the folder only if it is empty.
end
function [pids] = getMATLABPids()
%% PURPOSE: GET ALL OF THE PROCESS ID’S FOR ALL MATLAB INSTANCES
if ispc==1
% Execute the command to get a list of all running MATLAB processes
[status, result] = system(‘tasklist /FI "IMAGENAME eq matlab.exe" /FO LIST’);
% Check if the command was successful
if status == 0
% Process the result to extract PIDs
lines = strsplit(result, ‘n’);
pids = [];
for i = 1:length(lines)
line = strtrim(lines{i});
if startsWith(line, ‘PID:’)
pid = extractAfter(line, ‘PID:’);
pids = [pids; {pid}];
end
end
else
error(‘Failed to execute system command. Status: %d’, status);
end
else
% Execute the command to get PIDs of running MATLAB processes
[status, result] = system(‘pgrep matlab’);
% Check if the command was successful
if status == 0
% Process the result to extract PIDs
pids = strsplit(strtrim(result));
else
error(‘Failed to execute system command. Status: %d’, status);
end
end
end parallel computing, parallel computing toolbox, mkdir, path, lock, system MATLAB Answers — New Questions
1000+ Ảnh gái xinh vú đẹp, to tròn, hấp dẫn quyến rũ nhất thế giới
Vú đẹp là mong ước của hầu hết tất cả các chị em. Để sở hữu khuôn ngực đầy đặn, căng tròn, quyến rũ để có vóc dáng thêm tự tin. Khi có cặp vú đẹp, việc lựa chọn áo đồ trở nên dễ dàng hơn. Những bộ váy hoặc áo đầm dáng vừa sẽ làm nổi bật và tôn lên vóc dáng thanh mảnh. Vú đẹp là cách chỉ những chị em có vòng 1 căng tràn, tròn trịa, quyến rũ, có độ cong hoàn hảo, cân đối với vóc dáng giúp các nàng thêm phần hấp dẫn. Mông đẹp không chỉ là biểu tượng của nét nữ tính, mà còn là yếu tố quan trọng làm tăng sự tự tin và gợi cảm cho phụ nữ. 1000+ bộ ảnh gái ngực to, tròn, sexy nhất Việt Nam · Số đo vòng 1 phải phù hợp với chiều cao, cân nặng · Bầu vú săn chắc và mềm mại proseovipNGẮM ẢNH GÁI À, KHÔNG CÓ GÌ ĐÂU Read More
MathJax in Matlab Help Browser
Anyone know if it’s possible to do this?
Matlab’s web viewer (using web command on local file) shows HTML files that use MathJax just fine. However, when I index the HTML file in a helptoc.xml, so that the file can be viewed in the Help Browser, the MathJax rendered equations are not shown. I assume the javascript that loads MathJax isn’t even being run when viewing the file in the Help Browser, but perhaps there is a way.
MathML would be acceptible (and probably superior) but the Help Browser does not seem to support MathML at all.
I no interest in using Live Script or any other publishing solution built into Matlab. The HTML is coming from a source external to Matlab.Anyone know if it’s possible to do this?
Matlab’s web viewer (using web command on local file) shows HTML files that use MathJax just fine. However, when I index the HTML file in a helptoc.xml, so that the file can be viewed in the Help Browser, the MathJax rendered equations are not shown. I assume the javascript that loads MathJax isn’t even being run when viewing the file in the Help Browser, but perhaps there is a way.
MathML would be acceptible (and probably superior) but the Help Browser does not seem to support MathML at all.
I no interest in using Live Script or any other publishing solution built into Matlab. The HTML is coming from a source external to Matlab. Anyone know if it’s possible to do this?
Matlab’s web viewer (using web command on local file) shows HTML files that use MathJax just fine. However, when I index the HTML file in a helptoc.xml, so that the file can be viewed in the Help Browser, the MathJax rendered equations are not shown. I assume the javascript that loads MathJax isn’t even being run when viewing the file in the Help Browser, but perhaps there is a way.
MathML would be acceptible (and probably superior) but the Help Browser does not seem to support MathML at all.
I no interest in using Live Script or any other publishing solution built into Matlab. The HTML is coming from a source external to Matlab. matlab, mathjax, help browser MATLAB Answers — New Questions
How to remove pwd residue with auto-correlation
I have a sum of sine waves with transmission loss applied in a row.
And pwd is 10e-3. Because of this, the residue of the previous pwd remains in the part where the signal is not generated,
blurring the entire signal. My mentor said that I can remove it using auto-correlation.
However, he said to remove it using the filter format instead of using functions such as xcorr.
I don’t understand this part. If there is an expert in this field, please let me know what the intended part is along with the method.
I’ve attached a picture plotting one row of those signals.
If you need any further information, please let me know and I will get back to you as soon as possible.
%sampling F
Fs = 100e3; %
time_step = 1 / Fs;
distance_step = 2 * time_step * soundSpeed;
max_time = min(L_values(:));
pwd = 10e-3;
tt = 0 : time_step : pwd;
F = 1000; %sine wave F
input_sig = sin(2 * pi * F * tt);
round_distance = soundSpeed * dist_time; %soundspeed = 1500(m/s)
TL = 40 * log10(round_distance);
TL_signal = input_sig * 10^(-TL/20);I have a sum of sine waves with transmission loss applied in a row.
And pwd is 10e-3. Because of this, the residue of the previous pwd remains in the part where the signal is not generated,
blurring the entire signal. My mentor said that I can remove it using auto-correlation.
However, he said to remove it using the filter format instead of using functions such as xcorr.
I don’t understand this part. If there is an expert in this field, please let me know what the intended part is along with the method.
I’ve attached a picture plotting one row of those signals.
If you need any further information, please let me know and I will get back to you as soon as possible.
%sampling F
Fs = 100e3; %
time_step = 1 / Fs;
distance_step = 2 * time_step * soundSpeed;
max_time = min(L_values(:));
pwd = 10e-3;
tt = 0 : time_step : pwd;
F = 1000; %sine wave F
input_sig = sin(2 * pi * F * tt);
round_distance = soundSpeed * dist_time; %soundspeed = 1500(m/s)
TL = 40 * log10(round_distance);
TL_signal = input_sig * 10^(-TL/20); I have a sum of sine waves with transmission loss applied in a row.
And pwd is 10e-3. Because of this, the residue of the previous pwd remains in the part where the signal is not generated,
blurring the entire signal. My mentor said that I can remove it using auto-correlation.
However, he said to remove it using the filter format instead of using functions such as xcorr.
I don’t understand this part. If there is an expert in this field, please let me know what the intended part is along with the method.
I’ve attached a picture plotting one row of those signals.
If you need any further information, please let me know and I will get back to you as soon as possible.
%sampling F
Fs = 100e3; %
time_step = 1 / Fs;
distance_step = 2 * time_step * soundSpeed;
max_time = min(L_values(:));
pwd = 10e-3;
tt = 0 : time_step : pwd;
F = 1000; %sine wave F
input_sig = sin(2 * pi * F * tt);
round_distance = soundSpeed * dist_time; %soundspeed = 1500(m/s)
TL = 40 * log10(round_distance);
TL_signal = input_sig * 10^(-TL/20); autocorrelation, correlation, signal, transmissionloss, signalprocessing MATLAB Answers — New Questions
ERA SystemID and Compare() function
I am attempting to use era() to idetify a state space realization of my system and validate it using the compare() function. The system I am trying to identify is a steel cube with a heater attached to one side. The system starts at a state state of 0C and then heater applies an impulse flux to distrube the system.
When I use the compare() function to validate my system I see a good fit, but weird initial conditons. I am exspecting the inital conditons to be equal to 0 since all the data starts from steady state = 0C, however the compare() function estimates non-zeros initial conditions. Why is this happening?
Attached is my code and estiamtion / validation data sets.
Thanks in advance.I am attempting to use era() to idetify a state space realization of my system and validate it using the compare() function. The system I am trying to identify is a steel cube with a heater attached to one side. The system starts at a state state of 0C and then heater applies an impulse flux to distrube the system.
When I use the compare() function to validate my system I see a good fit, but weird initial conditons. I am exspecting the inital conditons to be equal to 0 since all the data starts from steady state = 0C, however the compare() function estimates non-zeros initial conditions. Why is this happening?
Attached is my code and estiamtion / validation data sets.
Thanks in advance. I am attempting to use era() to idetify a state space realization of my system and validate it using the compare() function. The system I am trying to identify is a steel cube with a heater attached to one side. The system starts at a state state of 0C and then heater applies an impulse flux to distrube the system.
When I use the compare() function to validate my system I see a good fit, but weird initial conditons. I am exspecting the inital conditons to be equal to 0 since all the data starts from steady state = 0C, however the compare() function estimates non-zeros initial conditions. Why is this happening?
Attached is my code and estiamtion / validation data sets.
Thanks in advance. system identification, validation MATLAB Answers — New Questions
OneDrive on Mac: OneDrive folder always opens at startup – How can I stop this?
Hello,
I run the latest version of OneDrive (Version 24.132.0701.0001) on a Mac running macOS 14.5.
When I start a session, the OneDrive folder always opens.
How can I stop this? I want a “silent” run of OneDrive…
I couldn’t find any option in the preferences for this…
By the way, I have the same ” issue ” with Windows10 and Windows11.
(I consider it an issue, but maybe it’s not considered an issue by Microsoft…)
Many thanks in advance for any help.
Hello, I run the latest version of OneDrive (Version 24.132.0701.0001) on a Mac running macOS 14.5.When I start a session, the OneDrive folder always opens.How can I stop this? I want a “silent” run of OneDrive…I couldn’t find any option in the preferences for this… By the way, I have the same ” issue ” with Windows10 and Windows11.(I consider it an issue, but maybe it’s not considered an issue by Microsoft…) Many thanks in advance for any help. Read More
Customizing generative AI guardrails with Azure AI Content Safety
Customization is highly important for guaranteeing responsible and effective use when building generative AI applications. Did you know that you can create custom guardrails to help reduce risk and better align your apps with your specific use cases and responsible AI policies?
Learn more about how you can customize content safety, modify your content filters by adding terms to the blocklist, or by adjusting the severity tolerance thresholds for each content category at aka.ms/contentsafety. You will also learn how to create content filters tailored to your specific use cases or industry, and how to create custom filters,
Customization is highly important for guaranteeing responsible and effective use when building generative AI applications. Did you know that you can create custom guardrails to help reduce risk and better align your apps with your specific use cases and responsible AI policies?
Learn more about how you can customize content safety, modify your content filters by adding terms to the blocklist, or by adjusting the severity tolerance thresholds for each content category at aka.ms/contentsafety. You will also learn how to create content filters tailored to your specific use cases or industry, and how to create custom filters, Read More
How to Compare USB Flash Drive Folders for Duplicate Files
I have a USB flash drive filled with thousands of MP3 song files. Some are organized within an “Artist” folder, while others are scattered in a folder called “Random.” I decided to revamp my music collection by creating a “Done” folder with organized artists and albums, such as Garth Brooks’ albums with complete details like album art, genre, and release year.
I am looking for an easier way to identify and remove duplicate files based on artist names or group names. Currently, I manually search for each artist in the “Random” folder to eliminate duplicates. Is there a more efficient method, perhaps a free program compatible with Windows 11, that can help streamline this process? I want to avoid having multiple copies of the same songs with incorrect file names but correct tags.
If you have any suggestions or recommendations to simplify this task, please let me know. Thank you!
I have a USB flash drive filled with thousands of MP3 song files. Some are organized within an “Artist” folder, while others are scattered in a folder called “Random.” I decided to revamp my music collection by creating a “Done” folder with organized artists and albums, such as Garth Brooks’ albums with complete details like album art, genre, and release year. I am looking for an easier way to identify and remove duplicate files based on artist names or group names. Currently, I manually search for each artist in the “Random” folder to eliminate duplicates. Is there a more efficient method, perhaps a free program compatible with Windows 11, that can help streamline this process? I want to avoid having multiple copies of the same songs with incorrect file names but correct tags. If you have any suggestions or recommendations to simplify this task, please let me know. Thank you! Read More
Troubleshooting with SFC /Scannow: Identifying and Fixing Consistently Corrupted Files
Hello,
I have encountered a situation on my Windows system where when running the sfc /scannow command, it often reports errors found in specific files, most notably BthA2dp.sys, BthHfEnum.sys, and bthmodem.sys. Windows indicates that it has successfully repaired these files, but the errors reappear even after reinstalling the wifi/bluetooth drivers.
While my wifi/bluetooth card functions well without any noticeable issues, the consistent recurrence of these repair notifications concerns me. I recall reading somewhere that it might be common for Windows to repair these files periodically, but I would appreciate your confirmation on this matter.
Is there a permanent solution to prevent these files from continually showing as corrupted and repaired? Any guidance on resolving this recurring issue would be greatly appreciated.
Thank you.
Hello, I have encountered a situation on my Windows system where when running the sfc /scannow command, it often reports errors found in specific files, most notably BthA2dp.sys, BthHfEnum.sys, and bthmodem.sys. Windows indicates that it has successfully repaired these files, but the errors reappear even after reinstalling the wifi/bluetooth drivers. While my wifi/bluetooth card functions well without any noticeable issues, the consistent recurrence of these repair notifications concerns me. I recall reading somewhere that it might be common for Windows to repair these files periodically, but I would appreciate your confirmation on this matter. Is there a permanent solution to prevent these files from continually showing as corrupted and repaired? Any guidance on resolving this recurring issue would be greatly appreciated. Thank you. Read More