Category: News
Matlab 2021a installer not working on WSL ubuntu 1804
I have extracted the installer files, then ran:
sudo chmod -R 777 matlab
cd matlab
sudo ./install
I have a VcXsrv server display open which displays the matlab startup logo then disappears and no installer window pops up.
Any ideas as to why this is happening?I have extracted the installer files, then ran:
sudo chmod -R 777 matlab
cd matlab
sudo ./install
I have a VcXsrv server display open which displays the matlab startup logo then disappears and no installer window pops up.
Any ideas as to why this is happening? I have extracted the installer files, then ran:
sudo chmod -R 777 matlab
cd matlab
sudo ./install
I have a VcXsrv server display open which displays the matlab startup logo then disappears and no installer window pops up.
Any ideas as to why this is happening? installer, ubuntu MATLAB Answers — New Questions
Q-learning movement restriction
I am Implementing Q learning on 5 x 5 grid using the following code.
%% Create Grid
GW = createGridWorld(5,5);
GW.CurrentState = ‘[1,1]’;
GW.TerminalStates = ‘[5,1]’
GW.ObstacleStates = ["[3,1]";"[3,2]";"[3,3]"];
updateStateTranstionForObstacles(GW)
GW.T(state2idx(GW,"[2,2]"),:,:) = 0;
GW.T(state2idx(GW,"[2,2]"),state2idx(GW,"[4,2]"),:) = 1;
It creates a 5 x 5 grid starts from [1,1] and termnates at [5,1]. I want the starting point random in this 5 x 5 grid and it only move around its 8 neighbours and terminate.I am Implementing Q learning on 5 x 5 grid using the following code.
%% Create Grid
GW = createGridWorld(5,5);
GW.CurrentState = ‘[1,1]’;
GW.TerminalStates = ‘[5,1]’
GW.ObstacleStates = ["[3,1]";"[3,2]";"[3,3]"];
updateStateTranstionForObstacles(GW)
GW.T(state2idx(GW,"[2,2]"),:,:) = 0;
GW.T(state2idx(GW,"[2,2]"),state2idx(GW,"[4,2]"),:) = 1;
It creates a 5 x 5 grid starts from [1,1] and termnates at [5,1]. I want the starting point random in this 5 x 5 grid and it only move around its 8 neighbours and terminate. I am Implementing Q learning on 5 x 5 grid using the following code.
%% Create Grid
GW = createGridWorld(5,5);
GW.CurrentState = ‘[1,1]’;
GW.TerminalStates = ‘[5,1]’
GW.ObstacleStates = ["[3,1]";"[3,2]";"[3,3]"];
updateStateTranstionForObstacles(GW)
GW.T(state2idx(GW,"[2,2]"),:,:) = 0;
GW.T(state2idx(GW,"[2,2]"),state2idx(GW,"[4,2]"),:) = 1;
It creates a 5 x 5 grid starts from [1,1] and termnates at [5,1]. I want the starting point random in this 5 x 5 grid and it only move around its 8 neighbours and terminate. q-learning, reinforcement learning MATLAB Answers — New Questions
Upgrading Windows 11 on Co-Managed Entra Joined Devices with Intune
Dear Support,
All of our Windows 10 devices are managed through SCCM and Microsoft Intune, with shared workloads piloted through Intune. Below are the details from one of our testing devices,
Here is the testing device details,
Co-management configuration settings:
As per the instructions provided , I have created a profile under “Update rings for Windows 10 and later” and manually synced it from the company portal, Intune device console, and Account or Work School > Info > Sync. However, I do not see any prompts or progress regarding the Windows 10 upgrade.
I verified in event viewer, Application and Services Logs > Microsoft > Windows > DeviceManagement-Enterprise-Diagnostics-Provider -> admin, I see there was an error “MDM Session : OMA-DM message failed to be sent. Result: (Unknown Win32 Error code: 0x801901ad)” I checked in google the error message indicates that, the device was unable to sync because of network connection issues so restarted the device to see if this error get rid from the event viewer but I got another issue in event viewer ,
“MDM ConfigurationManager: Command failure status. Configuration Source ID: (E97E6844-D6DA-4626-8E08-2981CAC4E66F), Enrollment Name: (MDMDeviceWithAAD), Provider Name: (Policy), Command Type: (Add: from Replace or Add), CSP URI: (./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/Receiver/Properties/Policy/FakePolicy/Version), Result: (The system cannot find the file specified
Not sure whether because of this error windows 11 upgrade is failed?
Dsregcmd /status ,
WUfB Policy registry entries and values:
Could you please assist in providing guidance on how to upgrade Windows 10 for hybrid devices?
Dear Support,All of our Windows 10 devices are managed through SCCM and Microsoft Intune, with shared workloads piloted through Intune. Below are the details from one of our testing devices,Here is the testing device details,Co-management configuration settings:As per the instructions provided , I have created a profile under “Update rings for Windows 10 and later” and manually synced it from the company portal, Intune device console, and Account or Work School > Info > Sync. However, I do not see any prompts or progress regarding the Windows 10 upgrade. I verified in event viewer, Application and Services Logs > Microsoft > Windows > DeviceManagement-Enterprise-Diagnostics-Provider -> admin, I see there was an error “MDM Session : OMA-DM message failed to be sent. Result: (Unknown Win32 Error code: 0x801901ad)” I checked in google the error message indicates that, the device was unable to sync because of network connection issues so restarted the device to see if this error get rid from the event viewer but I got another issue in event viewer ,“MDM ConfigurationManager: Command failure status. Configuration Source ID: (E97E6844-D6DA-4626-8E08-2981CAC4E66F), Enrollment Name: (MDMDeviceWithAAD), Provider Name: (Policy), Command Type: (Add: from Replace or Add), CSP URI: (./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/Receiver/Properties/Policy/FakePolicy/Version), Result: (The system cannot find the file specifiedNot sure whether because of this error windows 11 upgrade is failed?Dsregcmd /status ,WUfB Policy registry entries and values:Could you please assist in providing guidance on how to upgrade Windows 10 for hybrid devices? Read More
Microsoft Purview Replacement for Exchange MRM policies and Tags
Hi, looking for some advice please
We are about to implement a two year retention and deletion policy in Microsoft Purview for exchange online email so that it deletes email from the Inbox and Online Archive. We still have Exchange MRM Policies and tags in place but want to strictly enforce the two year policy across the business. The plan is to delete the MRM Policies and Tags and use purely Purview to manage email retention and deletion. Is this the recommended approach?
Thanks in Advance
Chris
Hi, looking for some advice please We are about to implement a two year retention and deletion policy in Microsoft Purview for exchange online email so that it deletes email from the Inbox and Online Archive. We still have Exchange MRM Policies and tags in place but want to strictly enforce the two year policy across the business. The plan is to delete the MRM Policies and Tags and use purely Purview to manage email retention and deletion. Is this the recommended approach? Thanks in Advance Chris Read More
Opt-In and Opt-Out issues
Several users in our environment have reported that the opt-in and opt-out features in call queue are behaving very strange. It seems like an opt-in or opt-out change does not always goes through properly and reverts. Anyone has the same issue? Could this be a bug in the Teams 2.0 client?
Several users in our environment have reported that the opt-in and opt-out features in call queue are behaving very strange. It seems like an opt-in or opt-out change does not always goes through properly and reverts. Anyone has the same issue? Could this be a bug in the Teams 2.0 client? Read More
Need Advice
I need to count the number of times a specific transgression occurs for a specific name.
Currently:
I have a PowerAutomate flow that opens an excel sheet that has the list data in. This excel file has the complex calculation that determines the count. PowerAutomate then takes those values and updates the values into the SharePoint list column.
I want to know if there is an easier way? SharePoint lists don’t seem capable to do the same kind of excel calculation that counts the number of occurrences for specific consultant:
=COUNTIFS(J:J,[@[Nr Transgression]],B:B,[@[Consultant Full Name]])
I need to count the number of times a specific transgression occurs for a specific name. Currently:I have a PowerAutomate flow that opens an excel sheet that has the list data in. This excel file has the complex calculation that determines the count. PowerAutomate then takes those values and updates the values into the SharePoint list column.I want to know if there is an easier way? SharePoint lists don’t seem capable to do the same kind of excel calculation that counts the number of occurrences for specific consultant:=COUNTIFS(J:J,[@[Nr Transgression]],B:B,[@[Consultant Full Name]]) Read More
Custom App in Teams
Hello
Please i need your help
I’m encountering an issue where, after uploading a custom app for testing within our organization’s Microsoft Teams store, I’m unable to install the application for a tab. The ‘ADD’ button seems to be missing, preventing me from proceeding with the installation.
HelloPlease i need your help I’m encountering an issue where, after uploading a custom app for testing within our organization’s Microsoft Teams store, I’m unable to install the application for a tab. The ‘ADD’ button seems to be missing, preventing me from proceeding with the installation. Read More
Problem when logging into MSN Explorer
Hi!
It’s been some weeks since I can’t login into MSN Explorer. Do you guys have an idea if this is being addressed?
Thanks!
Hi! It’s been some weeks since I can’t login into MSN Explorer. Do you guys have an idea if this is being addressed? Thanks! Read More
Does the cameraboard API support Raspberry PI HQ Camera in full resolution?
Hi, I tried to use MATLAB to control a Raspberry PI HQ Camera connected with a PI Zero W by using the "cameraboard" API. It seems like the highest resolution available in the cameraboard setting is 1920×1080. However, the HQ Camera has a resolution of 4056×3040. Does anyone know how to get around this so that I could use the full resolution of HQ camera?Hi, I tried to use MATLAB to control a Raspberry PI HQ Camera connected with a PI Zero W by using the "cameraboard" API. It seems like the highest resolution available in the cameraboard setting is 1920×1080. However, the HQ Camera has a resolution of 4056×3040. Does anyone know how to get around this so that I could use the full resolution of HQ camera? Hi, I tried to use MATLAB to control a Raspberry PI HQ Camera connected with a PI Zero W by using the "cameraboard" API. It seems like the highest resolution available in the cameraboard setting is 1920×1080. However, the HQ Camera has a resolution of 4056×3040. Does anyone know how to get around this so that I could use the full resolution of HQ camera? raspberry pi, hq camera, cameraboard, pi zero w MATLAB Answers — New Questions
Add OneDrive Shortcut
Hello
When trying to add shortcut to OneDrive.
I get the error message.
Hello When trying to add shortcut to OneDrive. I get the error message. Read More
How to change input values for weight classfication layer.
I am using weigth classfication fucntion which given as example in MATALAB documentaion.
But whenI use it in my network it gives error "Error using ‘backwardLoss’ in Layer weightedClassificationLayer. The function threw an error and could not be executed". I think the error is due to input value but i am not sure where to change these valuse. The weighted classification function works well according to input valuse assigned in example.
The link of example https://in.mathworks.com/help/deeplearning/ug/create-custom-weighted-cross-entropy-classification-layer.html
the code I am using for weighted classification function
%%%%%%
classdef weightedClassificationLayer < nnet.layer.ClassificationLayer
properties
% Row vector of weights corresponding to the classes in the
% training data.
ClassWeights
end
methods
function layer = weightedClassificationLayer(classWeights, name)
% layer = weightedClassificationLayer(classWeights) creates a
% weighted cross entropy loss layer. classWeights is a row
% vector of weights corresponding to the classes in the order
% that they appear in the training data.
%
% layer = weightedClassificationLayer(classWeights, name)
% additionally specifies the layer name.
% Set class weights.
layer.ClassWeights = classWeights;
% Set layer name.
if nargin == 2
layer.Name = name;
end
% Set layer description
layer.Description = ‘Weighted cross entropy’;
end
function loss = forwardLoss(layer, Y, T)
% loss = forwardLoss(layer, Y, T) returns the weighted cross
% entropy loss between the predictions Y and the training
% targets T.
N = size(Y,4);
Y = squeeze(Y);
T = squeeze(T);
W = layer.ClassWeights;
loss = -sum(W*(T.*log(Y)))/N;
end
function dLdY = backwardLoss(layer, Y, T)
% dLdX = backwardLoss(layer, Y, T) returns the derivatives of
% the weighted cross entropy loss with respect to the
% predictions Y.
[~,~,K,N] = size(Y);
Y = squeeze(Y);
T = squeeze(T);
W = layer.ClassWeights;
dLdY = -(W’.*T./Y)/N;
dLdY = reshape(dLdY,[1 1 K N]);
end
end
endI am using weigth classfication fucntion which given as example in MATALAB documentaion.
But whenI use it in my network it gives error "Error using ‘backwardLoss’ in Layer weightedClassificationLayer. The function threw an error and could not be executed". I think the error is due to input value but i am not sure where to change these valuse. The weighted classification function works well according to input valuse assigned in example.
The link of example https://in.mathworks.com/help/deeplearning/ug/create-custom-weighted-cross-entropy-classification-layer.html
the code I am using for weighted classification function
%%%%%%
classdef weightedClassificationLayer < nnet.layer.ClassificationLayer
properties
% Row vector of weights corresponding to the classes in the
% training data.
ClassWeights
end
methods
function layer = weightedClassificationLayer(classWeights, name)
% layer = weightedClassificationLayer(classWeights) creates a
% weighted cross entropy loss layer. classWeights is a row
% vector of weights corresponding to the classes in the order
% that they appear in the training data.
%
% layer = weightedClassificationLayer(classWeights, name)
% additionally specifies the layer name.
% Set class weights.
layer.ClassWeights = classWeights;
% Set layer name.
if nargin == 2
layer.Name = name;
end
% Set layer description
layer.Description = ‘Weighted cross entropy’;
end
function loss = forwardLoss(layer, Y, T)
% loss = forwardLoss(layer, Y, T) returns the weighted cross
% entropy loss between the predictions Y and the training
% targets T.
N = size(Y,4);
Y = squeeze(Y);
T = squeeze(T);
W = layer.ClassWeights;
loss = -sum(W*(T.*log(Y)))/N;
end
function dLdY = backwardLoss(layer, Y, T)
% dLdX = backwardLoss(layer, Y, T) returns the derivatives of
% the weighted cross entropy loss with respect to the
% predictions Y.
[~,~,K,N] = size(Y);
Y = squeeze(Y);
T = squeeze(T);
W = layer.ClassWeights;
dLdY = -(W’.*T./Y)/N;
dLdY = reshape(dLdY,[1 1 K N]);
end
end
end I am using weigth classfication fucntion which given as example in MATALAB documentaion.
But whenI use it in my network it gives error "Error using ‘backwardLoss’ in Layer weightedClassificationLayer. The function threw an error and could not be executed". I think the error is due to input value but i am not sure where to change these valuse. The weighted classification function works well according to input valuse assigned in example.
The link of example https://in.mathworks.com/help/deeplearning/ug/create-custom-weighted-cross-entropy-classification-layer.html
the code I am using for weighted classification function
%%%%%%
classdef weightedClassificationLayer < nnet.layer.ClassificationLayer
properties
% Row vector of weights corresponding to the classes in the
% training data.
ClassWeights
end
methods
function layer = weightedClassificationLayer(classWeights, name)
% layer = weightedClassificationLayer(classWeights) creates a
% weighted cross entropy loss layer. classWeights is a row
% vector of weights corresponding to the classes in the order
% that they appear in the training data.
%
% layer = weightedClassificationLayer(classWeights, name)
% additionally specifies the layer name.
% Set class weights.
layer.ClassWeights = classWeights;
% Set layer name.
if nargin == 2
layer.Name = name;
end
% Set layer description
layer.Description = ‘Weighted cross entropy’;
end
function loss = forwardLoss(layer, Y, T)
% loss = forwardLoss(layer, Y, T) returns the weighted cross
% entropy loss between the predictions Y and the training
% targets T.
N = size(Y,4);
Y = squeeze(Y);
T = squeeze(T);
W = layer.ClassWeights;
loss = -sum(W*(T.*log(Y)))/N;
end
function dLdY = backwardLoss(layer, Y, T)
% dLdX = backwardLoss(layer, Y, T) returns the derivatives of
% the weighted cross entropy loss with respect to the
% predictions Y.
[~,~,K,N] = size(Y);
Y = squeeze(Y);
T = squeeze(T);
W = layer.ClassWeights;
dLdY = -(W’.*T./Y)/N;
dLdY = reshape(dLdY,[1 1 K N]);
end
end
end deep learning, neural networks MATLAB Answers — New Questions
Copy data if files exists
Hello
I’ve seen a few posts about this but none that seem to answer the questions. I want to copy a file if exists in a folder called France and if doesn’t exists copy a file(last modified) from France/Archive. Both on a local drive. Can you explain how this can be achieved? Problem, I am having is under GetMetaData as it always return True, even when there is no file present in France which I think is down to the Argument set as Exists and the variable set Get Metadata exists which looks at folders and files. Thanks
Ross
HelloI’ve seen a few posts about this but none that seem to answer the questions. I want to copy a file if exists in a folder called France and if doesn’t exists copy a file(last modified) from France/Archive. Both on a local drive. Can you explain how this can be achieved? Problem, I am having is under GetMetaData as it always return True, even when there is no file present in France which I think is down to the Argument set as Exists and the variable set Get Metadata exists which looks at folders and files. ThanksRoss Read More
GetEndpoints Failed error when connecting to an OPCUA simulation server
I am trying to configure a setup to retrieve data from the IntegrationObject simulation server. I am able to store data in it from a remote host using pyhton. I can also connect to the server as long as I am running MATLAB 2022b in the same host. But when it comes to connect to the server from another remote host using MATLAB 2022b it fires an internal error saying it cannot retrieve the Endpoints
>> s=opcuaserverinfo(‘u114193’)
s =
OPC UA ServerInfo ‘Integration Objects UA Server Simulator’:
Connection Information:
Hostname: ‘u114193’
Port: 62640
Endpoints: [1×5 opc.ua.EndpointDescription]
Security Information:
BestMessageSecurity: SignAndEncrypt
BestChannelSecurity: Basic256Sha256
UserTokenTypes: {‘Anonymous’ ‘Username’ ‘Certificate’}
>> uac=opcua(s)
uac =
OPC UA Client:
Server Information:
Name: ‘Integration Objects UA Server Simulator’
Hostname: ‘u114193’
Port: 62640
EndpointUrl: ‘opc.tcp://localhost:62640/IntegrationObjects/ServerSimulator’
Connection Information:
Timeout: 10
Status: ‘Disconnected’
ServerState: ‘<Not connected>’
Security Information:
MessageSecurityMode: SignAndEncrypt
ChannelSecurityPolicy: Basic256Sha256
Endpoints: [1×5 opc.ua.EndpointDescription]
>> connect(uac,’opcua_user’,’mipass’)
Error using matlabshared.asyncio.internal.MessageHandler/onError
GetEndpoints Failed.
Error in matlabshared.asyncio.internal.Channel/open (line 275)
obj.ChannelImpl.open(options);
Error in opc.ua.Client/connect (line 567)
clnt.AsyncChannel.open(options);
Username and password are correct. Anonymous access gives the same result. Using the EndpintURL does not help either from the remote host. I have notice that the endpointURL refers to localhost, but the hostname is ok, so I presume It trys to conenect to the remote host.
I can browse the server from any machine using various 3th party OPCUA browsers, Firewall is off
If using the IP of the server, I get the same result, but anyhow, I have updated C:WindowsSystem32driversetchosts with the correspondig entry for host u114193
I have also followed the instructions to allow DCOM with no security but this prevented my win10 64 bit from booting correctly (https://es.mathworks.com/help/icomm/ug/preparing-to-use-opc-toolbox-software.html)
any hint on this issue will be greatly appreciated?
Best regards.I am trying to configure a setup to retrieve data from the IntegrationObject simulation server. I am able to store data in it from a remote host using pyhton. I can also connect to the server as long as I am running MATLAB 2022b in the same host. But when it comes to connect to the server from another remote host using MATLAB 2022b it fires an internal error saying it cannot retrieve the Endpoints
>> s=opcuaserverinfo(‘u114193’)
s =
OPC UA ServerInfo ‘Integration Objects UA Server Simulator’:
Connection Information:
Hostname: ‘u114193’
Port: 62640
Endpoints: [1×5 opc.ua.EndpointDescription]
Security Information:
BestMessageSecurity: SignAndEncrypt
BestChannelSecurity: Basic256Sha256
UserTokenTypes: {‘Anonymous’ ‘Username’ ‘Certificate’}
>> uac=opcua(s)
uac =
OPC UA Client:
Server Information:
Name: ‘Integration Objects UA Server Simulator’
Hostname: ‘u114193’
Port: 62640
EndpointUrl: ‘opc.tcp://localhost:62640/IntegrationObjects/ServerSimulator’
Connection Information:
Timeout: 10
Status: ‘Disconnected’
ServerState: ‘<Not connected>’
Security Information:
MessageSecurityMode: SignAndEncrypt
ChannelSecurityPolicy: Basic256Sha256
Endpoints: [1×5 opc.ua.EndpointDescription]
>> connect(uac,’opcua_user’,’mipass’)
Error using matlabshared.asyncio.internal.MessageHandler/onError
GetEndpoints Failed.
Error in matlabshared.asyncio.internal.Channel/open (line 275)
obj.ChannelImpl.open(options);
Error in opc.ua.Client/connect (line 567)
clnt.AsyncChannel.open(options);
Username and password are correct. Anonymous access gives the same result. Using the EndpintURL does not help either from the remote host. I have notice that the endpointURL refers to localhost, but the hostname is ok, so I presume It trys to conenect to the remote host.
I can browse the server from any machine using various 3th party OPCUA browsers, Firewall is off
If using the IP of the server, I get the same result, but anyhow, I have updated C:WindowsSystem32driversetchosts with the correspondig entry for host u114193
I have also followed the instructions to allow DCOM with no security but this prevented my win10 64 bit from booting correctly (https://es.mathworks.com/help/icomm/ug/preparing-to-use-opc-toolbox-software.html)
any hint on this issue will be greatly appreciated?
Best regards. I am trying to configure a setup to retrieve data from the IntegrationObject simulation server. I am able to store data in it from a remote host using pyhton. I can also connect to the server as long as I am running MATLAB 2022b in the same host. But when it comes to connect to the server from another remote host using MATLAB 2022b it fires an internal error saying it cannot retrieve the Endpoints
>> s=opcuaserverinfo(‘u114193’)
s =
OPC UA ServerInfo ‘Integration Objects UA Server Simulator’:
Connection Information:
Hostname: ‘u114193’
Port: 62640
Endpoints: [1×5 opc.ua.EndpointDescription]
Security Information:
BestMessageSecurity: SignAndEncrypt
BestChannelSecurity: Basic256Sha256
UserTokenTypes: {‘Anonymous’ ‘Username’ ‘Certificate’}
>> uac=opcua(s)
uac =
OPC UA Client:
Server Information:
Name: ‘Integration Objects UA Server Simulator’
Hostname: ‘u114193’
Port: 62640
EndpointUrl: ‘opc.tcp://localhost:62640/IntegrationObjects/ServerSimulator’
Connection Information:
Timeout: 10
Status: ‘Disconnected’
ServerState: ‘<Not connected>’
Security Information:
MessageSecurityMode: SignAndEncrypt
ChannelSecurityPolicy: Basic256Sha256
Endpoints: [1×5 opc.ua.EndpointDescription]
>> connect(uac,’opcua_user’,’mipass’)
Error using matlabshared.asyncio.internal.MessageHandler/onError
GetEndpoints Failed.
Error in matlabshared.asyncio.internal.Channel/open (line 275)
obj.ChannelImpl.open(options);
Error in opc.ua.Client/connect (line 567)
clnt.AsyncChannel.open(options);
Username and password are correct. Anonymous access gives the same result. Using the EndpintURL does not help either from the remote host. I have notice that the endpointURL refers to localhost, but the hostname is ok, so I presume It trys to conenect to the remote host.
I can browse the server from any machine using various 3th party OPCUA browsers, Firewall is off
If using the IP of the server, I get the same result, but anyhow, I have updated C:WindowsSystem32driversetchosts with the correspondig entry for host u114193
I have also followed the instructions to allow DCOM with no security but this prevented my win10 64 bit from booting correctly (https://es.mathworks.com/help/icomm/ug/preparing-to-use-opc-toolbox-software.html)
any hint on this issue will be greatly appreciated?
Best regards. opcua, industrial communication toolbox MATLAB Answers — New Questions
Trying to find the integral under the curve at a certain bandwidth
clear all
close all
clc
L=10;
n=1.45;
c=2.9979e8;
dt = 6e-12;
T=10*2*L*n/c;
t = (-T/2/dt:1:T/2/dt)*dt;
Nt=round(T/dt);
fsine = 1e9;
vsine = 1;
phi = vsine*sin(2*pi*fsine*t);
EL1t=1.274e7*exp(1i*phi);
FP=fft(phi);
fs=1/dt/Nt;
Fs=(-1/dt/2:fs:1/dt/2-1);
Z=plot(Fs,fftshift(abs(fft(EL1t))));
%xlim([-0.5e10 0.5e10]);
pow = fftshift(abs(fft(EL1t)));
freq_f = 16e9;
% nnz(Fs==freq_f) % returns 0
[val,ind] = min(abs(Fs-freq_f)); % Find freq closest to 16 GHz
disp(Fs(ind));
disp(pow(ind));
I wanted to find the area under the curve at 16GHz with 50MHz on the right and left side range.
I am trying to use trapz command but still a bit confused…clear all
close all
clc
L=10;
n=1.45;
c=2.9979e8;
dt = 6e-12;
T=10*2*L*n/c;
t = (-T/2/dt:1:T/2/dt)*dt;
Nt=round(T/dt);
fsine = 1e9;
vsine = 1;
phi = vsine*sin(2*pi*fsine*t);
EL1t=1.274e7*exp(1i*phi);
FP=fft(phi);
fs=1/dt/Nt;
Fs=(-1/dt/2:fs:1/dt/2-1);
Z=plot(Fs,fftshift(abs(fft(EL1t))));
%xlim([-0.5e10 0.5e10]);
pow = fftshift(abs(fft(EL1t)));
freq_f = 16e9;
% nnz(Fs==freq_f) % returns 0
[val,ind] = min(abs(Fs-freq_f)); % Find freq closest to 16 GHz
disp(Fs(ind));
disp(pow(ind));
I wanted to find the area under the curve at 16GHz with 50MHz on the right and left side range.
I am trying to use trapz command but still a bit confused… clear all
close all
clc
L=10;
n=1.45;
c=2.9979e8;
dt = 6e-12;
T=10*2*L*n/c;
t = (-T/2/dt:1:T/2/dt)*dt;
Nt=round(T/dt);
fsine = 1e9;
vsine = 1;
phi = vsine*sin(2*pi*fsine*t);
EL1t=1.274e7*exp(1i*phi);
FP=fft(phi);
fs=1/dt/Nt;
Fs=(-1/dt/2:fs:1/dt/2-1);
Z=plot(Fs,fftshift(abs(fft(EL1t))));
%xlim([-0.5e10 0.5e10]);
pow = fftshift(abs(fft(EL1t)));
freq_f = 16e9;
% nnz(Fs==freq_f) % returns 0
[val,ind] = min(abs(Fs-freq_f)); % Find freq closest to 16 GHz
disp(Fs(ind));
disp(pow(ind));
I wanted to find the area under the curve at 16GHz with 50MHz on the right and left side range.
I am trying to use trapz command but still a bit confused… fft, plot, area MATLAB Answers — New Questions
Configuring / Publishing S/MIME X.509 Certificates in M365
Hi,
we have the possibility to gather free S/MIME Certificates. Since we are Cloud-Only in a M365 E1-License I wonder, how I could make use of that. Since we don’t have a AD/ADDS Server to collect and sync S/MIME Certificates, I wonder how it is possible to publish those within a Cloud-Only Situation.
All Setup-Guidelines from Microsoft refer to a ADDS Server and no reference on what to Do when Cloud-Only.
Does anyone here have an idea to follow suite and make those Certs available (especially in OWA)?
Hi, we have the possibility to gather free S/MIME Certificates. Since we are Cloud-Only in a M365 E1-License I wonder, how I could make use of that. Since we don’t have a AD/ADDS Server to collect and sync S/MIME Certificates, I wonder how it is possible to publish those within a Cloud-Only Situation.All Setup-Guidelines from Microsoft refer to a ADDS Server and no reference on what to Do when Cloud-Only. Does anyone here have an idea to follow suite and make those Certs available (especially in OWA)? Read More
How do I get the x and y values of the zoomed in portion of a linear plot from matlab figure?
I plot a wave file in matlab (audioread, plot) whcih looks something like this
I zoom into a section of this wav file, which now looks like this:
Is there a way to get all the x and y values of only this zoomed in section of the plot in the workspace?I plot a wave file in matlab (audioread, plot) whcih looks something like this
I zoom into a section of this wav file, which now looks like this:
Is there a way to get all the x and y values of only this zoomed in section of the plot in the workspace? I plot a wave file in matlab (audioread, plot) whcih looks something like this
I zoom into a section of this wav file, which now looks like this:
Is there a way to get all the x and y values of only this zoomed in section of the plot in the workspace? figure MATLAB Answers — New Questions
i have a problem with the first line of my code . I don’t know what does it mean . “Error in obtain_current_week_data_dt>obatin_current_week_actual_load_data (line 64) Current_week_actual_load_data(1,1)=Current_time_actual_load;”
Current_week_actual_load_data(1,1)=Current_time_actual_load;
temp1=Week_end_timestamp(1:10);
temp2=Week_end_timestamp(12:13);
temp3=Week_end_timestamp(14:15);
temp4=Week_end_timestamp(16:17);
Formated_string=[temp1,’ ‘,temp2,’:’,temp3,’:’,temp4];Current_week_actual_load_data(1,1)=Current_time_actual_load;
temp1=Week_end_timestamp(1:10);
temp2=Week_end_timestamp(12:13);
temp3=Week_end_timestamp(14:15);
temp4=Week_end_timestamp(16:17);
Formated_string=[temp1,’ ‘,temp2,’:’,temp3,’:’,temp4]; Current_week_actual_load_data(1,1)=Current_time_actual_load;
temp1=Week_end_timestamp(1:10);
temp2=Week_end_timestamp(12:13);
temp3=Week_end_timestamp(14:15);
temp4=Week_end_timestamp(16:17);
Formated_string=[temp1,’ ‘,temp2,’:’,temp3,’:’,temp4]; eror, code, definig MATLAB Answers — New Questions
Anyone has TOPS model in WideBand Signal DOA?
Anyone has TOPS model in WideBand Signal DOA?Anyone has TOPS model in WideBand Signal DOA? Anyone has TOPS model in WideBand Signal DOA? signal processing, doa, wideband signal MATLAB Answers — New Questions
What is the Len function do? It used to exist in MatLab 4.2, but now it doesn’t any insight?
R11o = [R11*cos(pi/2-phi2o-nu8),R11*sin(pi/2-phi2o-nu8)];
R023o = [R023*cos(pi/phi2o), R023*sin(pi/phi2o)];
R114o = [-R114*sin(nu7-pi/2+phi3o),-R114*cos(nu7-pi/2+phi3o)];
cthet10 = dot((R11o-R023o),R114o)/(len(R11o-R023o)*len(R114o));
Lsnlo = sqrt(Len(R114o)^2+len(R11o-R023o)^2-2*len(R114o)*len(R11o-R023o)*cthet10);R11o = [R11*cos(pi/2-phi2o-nu8),R11*sin(pi/2-phi2o-nu8)];
R023o = [R023*cos(pi/phi2o), R023*sin(pi/phi2o)];
R114o = [-R114*sin(nu7-pi/2+phi3o),-R114*cos(nu7-pi/2+phi3o)];
cthet10 = dot((R11o-R023o),R114o)/(len(R11o-R023o)*len(R114o));
Lsnlo = sqrt(Len(R114o)^2+len(R11o-R023o)^2-2*len(R114o)*len(R11o-R023o)*cthet10); R11o = [R11*cos(pi/2-phi2o-nu8),R11*sin(pi/2-phi2o-nu8)];
R023o = [R023*cos(pi/phi2o), R023*sin(pi/phi2o)];
R114o = [-R114*sin(nu7-pi/2+phi3o),-R114*cos(nu7-pi/2+phi3o)];
cthet10 = dot((R11o-R023o),R114o)/(len(R11o-R023o)*len(R114o));
Lsnlo = sqrt(Len(R114o)^2+len(R11o-R023o)^2-2*len(R114o)*len(R11o-R023o)*cthet10); len function, does it even exist? MATLAB Answers — New Questions
one drive shared folders partially visible
Hello
Please i need your help on this issue.
I would like to know to share all the folders in OneDrive online at once while selecting all of them.
The only options am seeing there is move to, copy to and download.
When I click on one folder it allows me to share
But when I click on all the folders I cant shared. How do i click on all the folders on OneDrive online to share.
Hello Please i need your help on this issue. I would like to know to share all the folders in OneDrive online at once while selecting all of them.The only options am seeing there is move to, copy to and download. When I click on one folder it allows me to share But when I click on all the folders I cant shared. How do i click on all the folders on OneDrive online to share. Read More