Month: July 2024
Hi I have Csv file for voltage and time data and I would like to compute spectrogram to to compute harmonics at different frequencies but my spectrogram looks so much noisy or
%%
folder = ‘C:UsersMinDesktopNew folder (3)’;
filename = ’27o2.csv’;
data = readtable(fullfile(folder, filename));
t = table2array(data(3:end, 1));
x = table2array(data(3:end, 2));
fs = 1 / (t(2) – t(1));
% Plot the spectrogram
figure;
spectrogram(x, 500,100,500, fs, ‘yaxis’);
% Customize the plot
xlabel(‘Time (s)’);
ylabel(‘Frequency (MHz)’);
colormap("hot")
title(‘Spectrogram’);
colorbar;%%
folder = ‘C:UsersMinDesktopNew folder (3)’;
filename = ’27o2.csv’;
data = readtable(fullfile(folder, filename));
t = table2array(data(3:end, 1));
x = table2array(data(3:end, 2));
fs = 1 / (t(2) – t(1));
% Plot the spectrogram
figure;
spectrogram(x, 500,100,500, fs, ‘yaxis’);
% Customize the plot
xlabel(‘Time (s)’);
ylabel(‘Frequency (MHz)’);
colormap("hot")
title(‘Spectrogram’);
colorbar; %%
folder = ‘C:UsersMinDesktopNew folder (3)’;
filename = ’27o2.csv’;
data = readtable(fullfile(folder, filename));
t = table2array(data(3:end, 1));
x = table2array(data(3:end, 2));
fs = 1 / (t(2) – t(1));
% Plot the spectrogram
figure;
spectrogram(x, 500,100,500, fs, ‘yaxis’);
% Customize the plot
xlabel(‘Time (s)’);
ylabel(‘Frequency (MHz)’);
colormap("hot")
title(‘Spectrogram’);
colorbar; signal processing, spectrogram MATLAB Answers — New Questions
problem when running the simulink model connected with arduino mega2560
Below is the error that I faced. How to solve this.
Caused by:
Unable to create a communication link with the serial port. Please check the input argument PORT and verify that a device is connected.
Component:Simulink | Category:Block errorBelow is the error that I faced. How to solve this.
Caused by:
Unable to create a communication link with the serial port. Please check the input argument PORT and verify that a device is connected.
Component:Simulink | Category:Block error Below is the error that I faced. How to solve this.
Caused by:
Unable to create a communication link with the serial port. Please check the input argument PORT and verify that a device is connected.
Component:Simulink | Category:Block error arduino MATLAB Answers — New Questions
CONVERT GRIB TO CSV/MAT
Hello,
I would like to know if there exists anyway to convert GRIB file to CSV/MAT in MATLAB. The GRIB file I downloaded from https://cds.climate.copernicus.eu/cd…e?tab=overview.
Let me know if this can be done in MATLABHello,
I would like to know if there exists anyway to convert GRIB file to CSV/MAT in MATLAB. The GRIB file I downloaded from https://cds.climate.copernicus.eu/cd…e?tab=overview.
Let me know if this can be done in MATLAB Hello,
I would like to know if there exists anyway to convert GRIB file to CSV/MAT in MATLAB. The GRIB file I downloaded from https://cds.climate.copernicus.eu/cd…e?tab=overview.
Let me know if this can be done in MATLAB grib file, copernicus data MATLAB Answers — New Questions
Purview Account
Just started using Purview and can see that data in my MS cloud has already been categorised and when I create new files they are categorised too. But I do not have a Purview Account – do I need one ?
I do not see the Data Map menu despite reading articles about putting my account in various groups but now wandering if its because we do not have a Purview Account.
If i created a new SIT I would have to go to each SharePoint site and have re-index it which I would prefer to have it done to all sites at once which I believe you can do in the Data Map which we cannot see.
Just started using Purview and can see that data in my MS cloud has already been categorised and when I create new files they are categorised too. But I do not have a Purview Account – do I need one ?I do not see the Data Map menu despite reading articles about putting my account in various groups but now wandering if its because we do not have a Purview Account. If i created a new SIT I would have to go to each SharePoint site and have re-index it which I would prefer to have it done to all sites at once which I believe you can do in the Data Map which we cannot see. Read More
PnP Modern Search v4 query text
i’ve installed the PnP modern search but am having trouble with the SharePoint Search Query text
I’d like it to search only within two document libraries I have on the page, I have tried using the path to this location but and still getting results from other locations.
I’m new to this so i could be missing something important.
What i would like is a search box (i have this and its connected to the results) and results just pointing to those two libraires.
Thanks in advance.
i’ve installed the PnP modern search but am having trouble with the SharePoint Search Query text I’d like it to search only within two document libraries I have on the page, I have tried using the path to this location but and still getting results from other locations. I’m new to this so i could be missing something important. What i would like is a search box (i have this and its connected to the results) and results just pointing to those two libraires. Thanks in advance. Read More
Renew
Hi all,
We purchased some licenses from one vendor last year which are due to expire in a few days.
We have since renewed our licenses with a different vendor, however I can see the following from the “old license”.
The subscription says “On, renews on 13/7/2024”.
Does this mean it will auto-renew on the 13th? Previously it would just have expired on the 13th.
Hi all, We purchased some licenses from one vendor last year which are due to expire in a few days. We have since renewed our licenses with a different vendor, however I can see the following from the “old license”. The subscription says “On, renews on 13/7/2024”. Does this mean it will auto-renew on the 13th? Previously it would just have expired on the 13th. Read More
Teams will not load – Says my device has been disabled
I need to add a work Teams account to my Teams app. When I enter my work email address, I get the message that my Device is Disabled and this message pops up.
Can anybody assist?
I need to add a work Teams account to my Teams app. When I enter my work email address, I get the message that my Device is Disabled and this message pops up.Can anybody assist? Read More
Replication Priority Boost.
Anyone managed to work out Replication Priority Boost?
Not managed to find much on this as to where this is managed.
I’ve found the following
user interface to boost the priority of a replication partner.
“rootdse modifiy: setpriortyBoost :<naming context>:partnerdc>:<boost factor>”
“rootdse attribute msds-priorutyBoost:<naming context>:<partner DC>”
I’ve looked via ADSIEDIT edit to see if I could find this attribute but no joy.
The note suggest “user interface to boost the priorty of a replication partner”
Can’t see anything in any GUI tools either.
Anyone managed to find this and if so , where is it?
Anyone managed to work out Replication Priority Boost?Not managed to find much on this as to where this is managed.I’ve found the followinguser interface to boost the priority of a replication partner.”rootdse modifiy: setpriortyBoost :<naming context>:partnerdc>:<boost factor>””rootdse attribute msds-priorutyBoost:<naming context>:<partner DC>” I’ve looked via ADSIEDIT edit to see if I could find this attribute but no joy.The note suggest “user interface to boost the priorty of a replication partner” Can’t see anything in any GUI tools either.Anyone managed to find this and if so , where is it? Read More
Transferring an SSD to a New PC: Windows 10 and Personal Data
I have an SSD containing Windows 10 Student Edition, personal files, and a few games, which I’d like to transfer to a new desktop PC, specifically an OptiPlex 9010.
I’ve read that there’s a specific method for transferring a hard drive with Windows to a new computer with different hardware.
Can you provide me with helpful tips, tutorials, or guides on how to accomplish this transfer successfully? I’d greatly appreciate any assistance.
I have an SSD containing Windows 10 Student Edition, personal files, and a few games, which I’d like to transfer to a new desktop PC, specifically an OptiPlex 9010. I’ve read that there’s a specific method for transferring a hard drive with Windows to a new computer with different hardware. Can you provide me with helpful tips, tutorials, or guides on how to accomplish this transfer successfully? I’d greatly appreciate any assistance. Read More
How can we empty Deleted Item Folders from On-premises Exchange server using script?
Scenario: As i am migrating the mailbox, requirement is to empty the mailbox’s deleted items folder and instead of doing manually to individual usermailbox, i tried to do from Exchange Management shell using command.
Search-Mailbox parameter command is deprecated so i cannot use those command as suggested in the internet related articles.
How can i empty deleted item folders from Mailbox server?
Scenario: As i am migrating the mailbox, requirement is to empty the mailbox’s deleted items folder and instead of doing manually to individual usermailbox, i tried to do from Exchange Management shell using command.Search-Mailbox parameter command is deprecated so i cannot use those command as suggested in the internet related articles. How can i empty deleted item folders from Mailbox server? Read More
Safe to buy authenticating Windows DVD from ebay?
I recently came across little white or red envelopes containing product keys that cost around $40 from ebay. Is there any way to verify their authenticity and legitimacy.
I recently came across little white or red envelopes containing product keys that cost around $40 from ebay. Is there any way to verify their authenticity and legitimacy. Read More
How to fix error 108 in Q.B Online?
I’m encountering error 108 in QBO when trying to connect my bank account. This error typically appears due to messages from my bank that require my attention, such as new terms or security notifications. I’ve tried refreshing the bank connection, clearing the browser cache, and using a different browser, but the issue persists. Could someone provide detailed steps to fix error 108, address any pending bank messages, and ensure a stable bank connection in Q.B Online?
I’m encountering error 108 in QBO when trying to connect my bank account. This error typically appears due to messages from my bank that require my attention, such as new terms or security notifications. I’ve tried refreshing the bank connection, clearing the browser cache, and using a different browser, but the issue persists. Could someone provide detailed steps to fix error 108, address any pending bank messages, and ensure a stable bank connection in Q.B Online? Read More
Odd bug when selecting 32 columns in source query of copy data task
I have been fighting a very odd issue in a pipeline this morning and can reproduce the issue at will.
Imagine a simple pipeline with a copy data task using a SHIR.
For the source query, if I specify 32 columns in the query – it errors with a message that it cannot find the first column in the dataset.. If I specify 31 columns, or 33 columns its fine.. It doesn’t matter what order the columns are in, doesn’t matter what columns I choose, or the names, or whatever, but the moment I choose 32 columns – It errors with a message that it cannot find the first column (whatever I select as the first column)
Repro – Copy data task, source query =
SELECT 1 AS col1
, 2 AS col2
, 3 AS col3
, 4 AS col4
, 5 AS col5
, 6 AS col6
, 7 AS col7
, 8 AS col8
, 9 AS col9
, 10 AS col0
, 11 AS col11
, 12 AS col12
, 13 AS col13
, 14 AS col14
, 15 AS col15
, 16 AS col16
, 17 AS col17
, 18 AS col18
, 19 AS col19
, 20 AS col20
, 21 AS col21
, 22 AS col22
, 23 AS col23
, 24 AS col24
, 25 AS col25
, 26 AS col26
, 27 AS col27
, 28 AS col28
, 29 AS col29
, 30 AS col30
, 31 AS col31
, 32 AS col32
Sink = no mapping, tablename passed in as part of foreach and auto-create table
Error:
Failure happened on ‘Sink’ side. ErrorCode=UserErrorInvalidColumnMappingColumnNotFound,’Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Column name ‘col1′ cannot be found in either source data or column mapping.,Source=Microsoft.DataTransfer.DataContracts,’
But in the example above, if I add a “col33”, it works fine
I have been fighting a very odd issue in a pipeline this morning and can reproduce the issue at will.Imagine a simple pipeline with a copy data task using a SHIR.For the source query, if I specify 32 columns in the query – it errors with a message that it cannot find the first column in the dataset.. If I specify 31 columns, or 33 columns its fine.. It doesn’t matter what order the columns are in, doesn’t matter what columns I choose, or the names, or whatever, but the moment I choose 32 columns – It errors with a message that it cannot find the first column (whatever I select as the first column)Repro – Copy data task, source query = SELECT 1 AS col1
, 2 AS col2
, 3 AS col3
, 4 AS col4
, 5 AS col5
, 6 AS col6
, 7 AS col7
, 8 AS col8
, 9 AS col9
, 10 AS col0
, 11 AS col11
, 12 AS col12
, 13 AS col13
, 14 AS col14
, 15 AS col15
, 16 AS col16
, 17 AS col17
, 18 AS col18
, 19 AS col19
, 20 AS col20
, 21 AS col21
, 22 AS col22
, 23 AS col23
, 24 AS col24
, 25 AS col25
, 26 AS col26
, 27 AS col27
, 28 AS col28
, 29 AS col29
, 30 AS col30
, 31 AS col31
, 32 AS col32Sink = no mapping, tablename passed in as part of foreach and auto-create tableError:Failure happened on ‘Sink’ side. ErrorCode=UserErrorInvalidColumnMappingColumnNotFound,’Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Column name ‘col1’ cannot be found in either source data or column mapping.,Source=Microsoft.DataTransfer.DataContracts,’But in the example above, if I add a “col33”, it works fine Read More
Capture and review .Net Profiler Traces on App Service (Windows)
Access the Azure Portal and navigate to the desired App Service.
Navigate to “Diagnose and Solve Problems” -> “Diagnostic Tools”
Choose “Collect .NET Profiler Trace” option.
Configure the trace options to gather data from the specific application instance, including thread details.
Reproduce the issue at step 2.
Access and examine the generated report.
In the demo application, a delay of approximately 20 seconds was observed. Refer to the browser network traces provided below.
Analyze the profiler traces to pinpoint the cause of the reported delay.
After examining the demo app’s code, it was evident that a deliberate 20-second delay was introduced in the Privacy method within the Home Controller.
Note: Default profiler log collection time is 60 seconds and it is possible to increase the default profiling duration by setting an application setting IIS_PROFILING_TIMEOUT_IN_SECONDS with a maximum value of 900 (i.e. 15 minutes).
Microsoft Tech Community – Latest Blogs –Read More
The particle swarm optimization algorithm optimizes the scale factor and quantization factor of the fuzzy PID controller
I want to use the particle swarm optimization algorithm to optimize the scale factor and quantization factor of the fuzzy PID controller, how do I do that? If I want to adjust the temperature of my cabin by controlling the speed of my compressor, can I set the difference between the actual temperature of the cabin and the set temperature as my objective function? My optimization goal was to control the cabin temperature, so that when there was a sudden disturbance from the outside world, my cabin would fluctuate less and correspondingly faster.I want to use the particle swarm optimization algorithm to optimize the scale factor and quantization factor of the fuzzy PID controller, how do I do that? If I want to adjust the temperature of my cabin by controlling the speed of my compressor, can I set the difference between the actual temperature of the cabin and the set temperature as my objective function? My optimization goal was to control the cabin temperature, so that when there was a sudden disturbance from the outside world, my cabin would fluctuate less and correspondingly faster. I want to use the particle swarm optimization algorithm to optimize the scale factor and quantization factor of the fuzzy PID controller, how do I do that? If I want to adjust the temperature of my cabin by controlling the speed of my compressor, can I set the difference between the actual temperature of the cabin and the set temperature as my objective function? My optimization goal was to control the cabin temperature, so that when there was a sudden disturbance from the outside world, my cabin would fluctuate less and correspondingly faster. particle swarm optimization algorithm,, fuzzy pid controller, MATLAB Answers — New Questions
Simulink Coder: no such file or directory
Hey there,
I want to get a s-function with Simulink Coder out of a BMS_strategy_EJ04_Diagmodel. when i run the model,it tell me :"Error(s) encountered while building model "BMS_strategy_EJ04_Diagmodel"".
The detail of the error message:
BMS_strategy_EJ04_Diagmodel.mk:171: D:/Program: No such file or directory
BMS_strategy_EJ04_Diagmodel.mk:171: Files/MATLAB/R2011brtwctoolslcctools.mak: No such file or directory
gmake: *** No rule to make target `Files/MATLAB/R2011brtwctoolslcctools.mak’. Stop.
Well, it seems the path in line 171 is not working right. so i hope you can help me to slove this problem.
thank you !!
yours
miss LeeHey there,
I want to get a s-function with Simulink Coder out of a BMS_strategy_EJ04_Diagmodel. when i run the model,it tell me :"Error(s) encountered while building model "BMS_strategy_EJ04_Diagmodel"".
The detail of the error message:
BMS_strategy_EJ04_Diagmodel.mk:171: D:/Program: No such file or directory
BMS_strategy_EJ04_Diagmodel.mk:171: Files/MATLAB/R2011brtwctoolslcctools.mak: No such file or directory
gmake: *** No rule to make target `Files/MATLAB/R2011brtwctoolslcctools.mak’. Stop.
Well, it seems the path in line 171 is not working right. so i hope you can help me to slove this problem.
thank you !!
yours
miss Lee Hey there,
I want to get a s-function with Simulink Coder out of a BMS_strategy_EJ04_Diagmodel. when i run the model,it tell me :"Error(s) encountered while building model "BMS_strategy_EJ04_Diagmodel"".
The detail of the error message:
BMS_strategy_EJ04_Diagmodel.mk:171: D:/Program: No such file or directory
BMS_strategy_EJ04_Diagmodel.mk:171: Files/MATLAB/R2011brtwctoolslcctools.mak: No such file or directory
gmake: *** No rule to make target `Files/MATLAB/R2011brtwctoolslcctools.mak’. Stop.
Well, it seems the path in line 171 is not working right. so i hope you can help me to slove this problem.
thank you !!
yours
miss Lee stateflow, code generation MATLAB Answers — New Questions
Unable to purchase MDE P2 from Admin portal
Hello everyone!
I’m currently using the MDE P2 trial for my workstation and it expires on the 18th, I’d like to purchase the license, but there is no option to purchase the subscription. Does anyone have an idea how to purchase MDE?
Thanks!
Hello everyone! I’m currently using the MDE P2 trial for my workstation and it expires on the 18th, I’d like to purchase the license, but there is no option to purchase the subscription. Does anyone have an idea how to purchase MDE? Thanks! Read More
Outlook will not open
Have just started a new business account, created an email address but am unable to get past the “pick an account page” have tried different devices and rebooted but still unable to login? Any thoughts welcome
Have just started a new business account, created an email address but am unable to get past the “pick an account page” have tried different devices and rebooted but still unable to login? Any thoughts welcome Read More
How to Resolve Error PS038 in Quick-Books Desktop on Windows 10/11
I keep encountering error PS038 in Quick-Books Desktop while trying to run pay-roll on my Windows 10/11 computer. This error is preventing me from updating paychecks, and I’ve already tried restarting the software and checking for updates, but the problem persists. Can someone provide a comprehensive guide or step-by-step instructions to fix this issue? It’s crucial for me to process pay roll promptly. Additionally, any insights into the common causes of this error would be extremely helpful.
I keep encountering error PS038 in Quick-Books Desktop while trying to run pay-roll on my Windows 10/11 computer. This error is preventing me from updating paychecks, and I’ve already tried restarting the software and checking for updates, but the problem persists. Can someone provide a comprehensive guide or step-by-step instructions to fix this issue? It’s crucial for me to process pay roll promptly. Additionally, any insights into the common causes of this error would be extremely helpful. Read More
Sync Between Users
Hello,
I am having issues with a user I support using the To-Do app, when the user adds tasks to a shared task-list the added task will not appear for any of their colleagues, if they colleagues add a task it does appear for the user however. Similarly if they complete the task they added their colleageus will get a notification saying it was completed despite not being able to see the task. Has anyone come across this at all. I have checked the sync settings, reinstalled the app etc. This happens on the users Windows and Iphone app so it doesnt appear to be device specific.
Any help would be much appriciated.
– O
Hello,I am having issues with a user I support using the To-Do app, when the user adds tasks to a shared task-list the added task will not appear for any of their colleagues, if they colleagues add a task it does appear for the user however. Similarly if they complete the task they added their colleageus will get a notification saying it was completed despite not being able to see the task. Has anyone come across this at all. I have checked the sync settings, reinstalled the app etc. This happens on the users Windows and Iphone app so it doesnt appear to be device specific. Any help would be much appriciated.- O Read More