Category: News
integral using “int” function
Hello everyone
I used function "int" to integral three functions F1xy, F2xy and F3xy and plot g1 ,g2 and g3 but does not works , can you help me to solve this problem?
result exicution
>>
g1 =
int((((615013805111497776896056633613405*t^2)/3569704090242693994614716226338816 – 8918236563554137/2305843009213693952)^2 + ((6125818010313341771482361107925645*t^2)/3569704090242693994614716226338816 – 5551856489561907/144115188075855872)^2)^(1/2), t)
g2 =
int((((245*(t/25 – (5423799145652977*sin((4*pi*t)/5))/36028797018963968 + (2927085600657033*sin((8*pi*t)/5))/144115188075855872 – 1/40)^2)/11 – ((7356568495562081*cos((8*pi*t)/5))/72057594037927936 – (1703936755052999*cos((4*pi*t)/5))/4503599627370496 + 1/25)^2/2)^2 + ((245*(t/25 + (5423799145652977*sin((4*pi*t)/5))/36028797018963968 + (2927085600657033*sin((8*pi*t)/5))/144115188075855872 – 1/40)^2)/11 – ((1703936755052999*cos((4*pi*t)/5))/4503599627370496 + (7356568495562081*cos((8*pi*t)/5))/72057594037927936 + 1/25)^2/2)^2)^(1/2), t)
g3 =
int((((245*((5000333870613589*t)/18014398509481984 – 444897748731878793/1801439850948198400)^2)/11 – 5551856489561907/144115188075855872)^2 + ((245*((1584380140315613*t)/18014398509481984 – 378191502634271457/1801439850948198400)^2)/11 – 8918236563554137/2305843009213693952)^2)^(1/2), t)Hello everyone
I used function "int" to integral three functions F1xy, F2xy and F3xy and plot g1 ,g2 and g3 but does not works , can you help me to solve this problem?
result exicution
>>
g1 =
int((((615013805111497776896056633613405*t^2)/3569704090242693994614716226338816 – 8918236563554137/2305843009213693952)^2 + ((6125818010313341771482361107925645*t^2)/3569704090242693994614716226338816 – 5551856489561907/144115188075855872)^2)^(1/2), t)
g2 =
int((((245*(t/25 – (5423799145652977*sin((4*pi*t)/5))/36028797018963968 + (2927085600657033*sin((8*pi*t)/5))/144115188075855872 – 1/40)^2)/11 – ((7356568495562081*cos((8*pi*t)/5))/72057594037927936 – (1703936755052999*cos((4*pi*t)/5))/4503599627370496 + 1/25)^2/2)^2 + ((245*(t/25 + (5423799145652977*sin((4*pi*t)/5))/36028797018963968 + (2927085600657033*sin((8*pi*t)/5))/144115188075855872 – 1/40)^2)/11 – ((1703936755052999*cos((4*pi*t)/5))/4503599627370496 + (7356568495562081*cos((8*pi*t)/5))/72057594037927936 + 1/25)^2/2)^2)^(1/2), t)
g3 =
int((((245*((5000333870613589*t)/18014398509481984 – 444897748731878793/1801439850948198400)^2)/11 – 5551856489561907/144115188075855872)^2 + ((245*((1584380140315613*t)/18014398509481984 – 378191502634271457/1801439850948198400)^2)/11 – 8918236563554137/2305843009213693952)^2)^(1/2), t) Hello everyone
I used function "int" to integral three functions F1xy, F2xy and F3xy and plot g1 ,g2 and g3 but does not works , can you help me to solve this problem?
result exicution
>>
g1 =
int((((615013805111497776896056633613405*t^2)/3569704090242693994614716226338816 – 8918236563554137/2305843009213693952)^2 + ((6125818010313341771482361107925645*t^2)/3569704090242693994614716226338816 – 5551856489561907/144115188075855872)^2)^(1/2), t)
g2 =
int((((245*(t/25 – (5423799145652977*sin((4*pi*t)/5))/36028797018963968 + (2927085600657033*sin((8*pi*t)/5))/144115188075855872 – 1/40)^2)/11 – ((7356568495562081*cos((8*pi*t)/5))/72057594037927936 – (1703936755052999*cos((4*pi*t)/5))/4503599627370496 + 1/25)^2/2)^2 + ((245*(t/25 + (5423799145652977*sin((4*pi*t)/5))/36028797018963968 + (2927085600657033*sin((8*pi*t)/5))/144115188075855872 – 1/40)^2)/11 – ((1703936755052999*cos((4*pi*t)/5))/4503599627370496 + (7356568495562081*cos((8*pi*t)/5))/72057594037927936 + 1/25)^2/2)^2)^(1/2), t)
g3 =
int((((245*((5000333870613589*t)/18014398509481984 – 444897748731878793/1801439850948198400)^2)/11 – 5551856489561907/144115188075855872)^2 + ((245*((1584380140315613*t)/18014398509481984 – 378191502634271457/1801439850948198400)^2)/11 – 8918236563554137/2305843009213693952)^2)^(1/2), t) using int function integral, plot using fplot MATLAB Answers — New Questions
MATLAB online default language
Hi all,
I need help with setting the default language as English when I open MATLAB in Chrome.
Thanks in advance. ZainHi all,
I need help with setting the default language as English when I open MATLAB in Chrome.
Thanks in advance. Zain Hi all,
I need help with setting the default language as English when I open MATLAB in Chrome.
Thanks in advance. Zain matlab online MATLAB Answers — New Questions
I tried to communicate using matlab industrial communication opcuaclient to OPC factory server when it gives an error
I tried to communicate using matlab industrial communication opcuaclient to OPC factory server when it gives an error "OPCEnum service is not operating correctly. Repair OPC Core Components." Its like the matlab can’t communicate.I tried to communicate using matlab industrial communication opcuaclient to OPC factory server when it gives an error "OPCEnum service is not operating correctly. Repair OPC Core Components." Its like the matlab can’t communicate. I tried to communicate using matlab industrial communication opcuaclient to OPC factory server when it gives an error "OPCEnum service is not operating correctly. Repair OPC Core Components." Its like the matlab can’t communicate. opcua communication MATLAB Answers — New Questions
Regarding bar graphs for large data
Hey everyone,
I have an issue with the bar graphs x axis data.
I have a large amount of data say for about 1000 iterations and more. It is the load data for every hour of the day along with the number of iterations the load value is being repeated in those 1000 iterations. i.e. the probability of occurrence of the load. But when I create a 2d graph for every hour with load on x axis and occurrence on y axis, the data on y-axis comes exactly, but my load data starts from 1 and ends abruptly without reaching the end value. But the graph shape is correct, I feel the data on the x axis is being given incorrectly according to my research on them for many number of times.I know about the set function but I cannot keep setting the x axis for many iterations as in my case. Did anyone else face this. Can someone guide me through this ?
Thank youHey everyone,
I have an issue with the bar graphs x axis data.
I have a large amount of data say for about 1000 iterations and more. It is the load data for every hour of the day along with the number of iterations the load value is being repeated in those 1000 iterations. i.e. the probability of occurrence of the load. But when I create a 2d graph for every hour with load on x axis and occurrence on y axis, the data on y-axis comes exactly, but my load data starts from 1 and ends abruptly without reaching the end value. But the graph shape is correct, I feel the data on the x axis is being given incorrectly according to my research on them for many number of times.I know about the set function but I cannot keep setting the x axis for many iterations as in my case. Did anyone else face this. Can someone guide me through this ?
Thank you Hey everyone,
I have an issue with the bar graphs x axis data.
I have a large amount of data say for about 1000 iterations and more. It is the load data for every hour of the day along with the number of iterations the load value is being repeated in those 1000 iterations. i.e. the probability of occurrence of the load. But when I create a 2d graph for every hour with load on x axis and occurrence on y axis, the data on y-axis comes exactly, but my load data starts from 1 and ends abruptly without reaching the end value. But the graph shape is correct, I feel the data on the x axis is being given incorrectly according to my research on them for many number of times.I know about the set function but I cannot keep setting the x axis for many iterations as in my case. Did anyone else face this. Can someone guide me through this ?
Thank you bar graphs. MATLAB Answers — New Questions
How to copy figure from Sisotool?
Hi
I am using the latest Matlab R2016a.
There is a problem while I using sisotool
How do I copy figure form sisotool ?
There is no "EDIT" button in the GUI of sisotool like the previous version of Matlab.Hi
I am using the latest Matlab R2016a.
There is a problem while I using sisotool
How do I copy figure form sisotool ?
There is no "EDIT" button in the GUI of sisotool like the previous version of Matlab. Hi
I am using the latest Matlab R2016a.
There is a problem while I using sisotool
How do I copy figure form sisotool ?
There is no "EDIT" button in the GUI of sisotool like the previous version of Matlab. r2016a, sisotool, copy figure MATLAB Answers — New Questions
subgraph from graph matlab function
if i have a graph such as
WW = [20 10 12 14 12 10 20];
from=[1 2 2 3 4 3 5];
to = [4 1 4 2 3 5 4];
DG = sparse(from,to,WW); UG = tril(DG + DG’);
d=graphallshortestpaths(UG,’directed’,false);
is there any method to take subgraph for example(graph that contain only nodes 1 3 5)
thanks in advance
hassanif i have a graph such as
WW = [20 10 12 14 12 10 20];
from=[1 2 2 3 4 3 5];
to = [4 1 4 2 3 5 4];
DG = sparse(from,to,WW); UG = tril(DG + DG’);
d=graphallshortestpaths(UG,’directed’,false);
is there any method to take subgraph for example(graph that contain only nodes 1 3 5)
thanks in advance
hassan if i have a graph such as
WW = [20 10 12 14 12 10 20];
from=[1 2 2 3 4 3 5];
to = [4 1 4 2 3 5 4];
DG = sparse(from,to,WW); UG = tril(DG + DG’);
d=graphallshortestpaths(UG,’directed’,false);
is there any method to take subgraph for example(graph that contain only nodes 1 3 5)
thanks in advance
hassan subgraph, graph, graph theory MATLAB Answers — New Questions
Monthly to annual totals
Hello,
I am hoping to convert monthly totals to annual totals using a loop. However, instead of using the calendar year (Jan-Dec) I want to use the water year which runs from October to September. I have a number of time series organised in a structure (468 rows, 1 column) starting from Oct 1960 and ending in Sept 1999.
I have attempted to sum up each 12 consecutive rows (1:12, 13:24 and so on) to get the annual totals but my code (below) is not doing the job (I am not sure what exactly it is doing) and I was hoping I could get some help fixing it. Many thanks!
for k=1:length(varnames)
p=0;
for i=1:39
for months=1:12
p=p+1;
annual_flow.(varnames{k})(i,1)=flow_monthly.(varnames{k})(p,1);
end
end
endHello,
I am hoping to convert monthly totals to annual totals using a loop. However, instead of using the calendar year (Jan-Dec) I want to use the water year which runs from October to September. I have a number of time series organised in a structure (468 rows, 1 column) starting from Oct 1960 and ending in Sept 1999.
I have attempted to sum up each 12 consecutive rows (1:12, 13:24 and so on) to get the annual totals but my code (below) is not doing the job (I am not sure what exactly it is doing) and I was hoping I could get some help fixing it. Many thanks!
for k=1:length(varnames)
p=0;
for i=1:39
for months=1:12
p=p+1;
annual_flow.(varnames{k})(i,1)=flow_monthly.(varnames{k})(p,1);
end
end
end Hello,
I am hoping to convert monthly totals to annual totals using a loop. However, instead of using the calendar year (Jan-Dec) I want to use the water year which runs from October to September. I have a number of time series organised in a structure (468 rows, 1 column) starting from Oct 1960 and ending in Sept 1999.
I have attempted to sum up each 12 consecutive rows (1:12, 13:24 and so on) to get the annual totals but my code (below) is not doing the job (I am not sure what exactly it is doing) and I was hoping I could get some help fixing it. Many thanks!
for k=1:length(varnames)
p=0;
for i=1:39
for months=1:12
p=p+1;
annual_flow.(varnames{k})(i,1)=flow_monthly.(varnames{k})(p,1);
end
end
end loop, structure, annual total MATLAB Answers — New Questions
Non linear system by Newton-Raphson
Hey, I m trying to solve a non-linear system by Newton-Raphson method with an iteration max of 10 and 10^(-8) max error.
It ‘s my 1st time using matrices in Matlab and i think i don t get it right because my answer shoul be somewhat around x=0,88 y=0,99
I would love to know what is going wrong in my code ( I hope my derivatives are right (they should be))
thanks !
f1=@(x,y) atan(y)-y.*x.^2;
f2=@(x,y) x.^2+y.^2-2*x;
x1 = 1;
y1 = 1;
P = [x1 ; y1];
F= @(P) [atan(y1)-y1.*x1.^2 ; x1.^2+y1.^2-2*x1];
JF = @(P) [-2.*x1.*y1 (1/(1+y1.^2))-(x1.^(-2)) ; 2.*x1-2 2.*y1];
error = 1;
k = 1;
while k<10 && error > 10^(-8)
Q = P-JF(P)F(P);
error = abs( norm(Q-P)/norm(Q+eps));
P=Q;
k=k+1;
end
PHey, I m trying to solve a non-linear system by Newton-Raphson method with an iteration max of 10 and 10^(-8) max error.
It ‘s my 1st time using matrices in Matlab and i think i don t get it right because my answer shoul be somewhat around x=0,88 y=0,99
I would love to know what is going wrong in my code ( I hope my derivatives are right (they should be))
thanks !
f1=@(x,y) atan(y)-y.*x.^2;
f2=@(x,y) x.^2+y.^2-2*x;
x1 = 1;
y1 = 1;
P = [x1 ; y1];
F= @(P) [atan(y1)-y1.*x1.^2 ; x1.^2+y1.^2-2*x1];
JF = @(P) [-2.*x1.*y1 (1/(1+y1.^2))-(x1.^(-2)) ; 2.*x1-2 2.*y1];
error = 1;
k = 1;
while k<10 && error > 10^(-8)
Q = P-JF(P)F(P);
error = abs( norm(Q-P)/norm(Q+eps));
P=Q;
k=k+1;
end
P Hey, I m trying to solve a non-linear system by Newton-Raphson method with an iteration max of 10 and 10^(-8) max error.
It ‘s my 1st time using matrices in Matlab and i think i don t get it right because my answer shoul be somewhat around x=0,88 y=0,99
I would love to know what is going wrong in my code ( I hope my derivatives are right (they should be))
thanks !
f1=@(x,y) atan(y)-y.*x.^2;
f2=@(x,y) x.^2+y.^2-2*x;
x1 = 1;
y1 = 1;
P = [x1 ; y1];
F= @(P) [atan(y1)-y1.*x1.^2 ; x1.^2+y1.^2-2*x1];
JF = @(P) [-2.*x1.*y1 (1/(1+y1.^2))-(x1.^(-2)) ; 2.*x1-2 2.*y1];
error = 1;
k = 1;
while k<10 && error > 10^(-8)
Q = P-JF(P)F(P);
error = abs( norm(Q-P)/norm(Q+eps));
P=Q;
k=k+1;
end
P newton-raphson, non linear systems MATLAB Answers — New Questions
get real-time new coming sensor data from mobile phone, old sensor data is not include?
I want to get real-time sensor data using mobile phone,
% Initialize the mobile device object
m = mobiledev;
% Enable the accelerometer sensor
m.AccelerationSensorEnabled = 1;
% Start logging accelerometer data
m.Logging = 1;
% Set the figure for real-time plotting
figure;
duration = 15; % Duration of data collection in seconds
startTime = tic; % Start the timer
% Loop to collect and display data in real-time for 15 seconds
while toc(startTime) < duration
[accelData, timeStamps] = accellog(m); % Retrieve accelerometer data and timestamps
if ~isempty(accelData)
% Plot X, Y, Z axis acceleration in different colors
plot(timeStamps, accelData(:, 1), ‘r’); hold on;
plot(timeStamps, accelData(:, 2), ‘g’);
plot(timeStamps, accelData(:, 3), ‘b’);
xlabel(‘Time (s)’);
ylabel(‘Acceleration (m/s^2)’);
legend(‘X-axis’, ‘Y-axis’, ‘Z-axis’);
drawnow; % Update the plot in real-time
hold off;
end
pause(0.1); % Pause for smooth plotting
end
% Stop logging after the duration
m.Logging = 0;
% Optionally, retrieve all the logged data for further processing
[accelData, timeStamps] = accellog(m);
The function accellog(m) returns all logged accelerometer data from the start of the logging session, including both old and new data, in every call. It does not return only the new sensor data since the last call.
This means that in the code you provided, each time accellog(m) is called inside the loop, it will return the complete set of logged accelerometer data from the moment m.Logging = 1 was set, up to the current time.
How can I get the new coming sensor data? (logging=0 , logging=1 again is not a good way)I want to get real-time sensor data using mobile phone,
% Initialize the mobile device object
m = mobiledev;
% Enable the accelerometer sensor
m.AccelerationSensorEnabled = 1;
% Start logging accelerometer data
m.Logging = 1;
% Set the figure for real-time plotting
figure;
duration = 15; % Duration of data collection in seconds
startTime = tic; % Start the timer
% Loop to collect and display data in real-time for 15 seconds
while toc(startTime) < duration
[accelData, timeStamps] = accellog(m); % Retrieve accelerometer data and timestamps
if ~isempty(accelData)
% Plot X, Y, Z axis acceleration in different colors
plot(timeStamps, accelData(:, 1), ‘r’); hold on;
plot(timeStamps, accelData(:, 2), ‘g’);
plot(timeStamps, accelData(:, 3), ‘b’);
xlabel(‘Time (s)’);
ylabel(‘Acceleration (m/s^2)’);
legend(‘X-axis’, ‘Y-axis’, ‘Z-axis’);
drawnow; % Update the plot in real-time
hold off;
end
pause(0.1); % Pause for smooth plotting
end
% Stop logging after the duration
m.Logging = 0;
% Optionally, retrieve all the logged data for further processing
[accelData, timeStamps] = accellog(m);
The function accellog(m) returns all logged accelerometer data from the start of the logging session, including both old and new data, in every call. It does not return only the new sensor data since the last call.
This means that in the code you provided, each time accellog(m) is called inside the loop, it will return the complete set of logged accelerometer data from the moment m.Logging = 1 was set, up to the current time.
How can I get the new coming sensor data? (logging=0 , logging=1 again is not a good way) I want to get real-time sensor data using mobile phone,
% Initialize the mobile device object
m = mobiledev;
% Enable the accelerometer sensor
m.AccelerationSensorEnabled = 1;
% Start logging accelerometer data
m.Logging = 1;
% Set the figure for real-time plotting
figure;
duration = 15; % Duration of data collection in seconds
startTime = tic; % Start the timer
% Loop to collect and display data in real-time for 15 seconds
while toc(startTime) < duration
[accelData, timeStamps] = accellog(m); % Retrieve accelerometer data and timestamps
if ~isempty(accelData)
% Plot X, Y, Z axis acceleration in different colors
plot(timeStamps, accelData(:, 1), ‘r’); hold on;
plot(timeStamps, accelData(:, 2), ‘g’);
plot(timeStamps, accelData(:, 3), ‘b’);
xlabel(‘Time (s)’);
ylabel(‘Acceleration (m/s^2)’);
legend(‘X-axis’, ‘Y-axis’, ‘Z-axis’);
drawnow; % Update the plot in real-time
hold off;
end
pause(0.1); % Pause for smooth plotting
end
% Stop logging after the duration
m.Logging = 0;
% Optionally, retrieve all the logged data for further processing
[accelData, timeStamps] = accellog(m);
The function accellog(m) returns all logged accelerometer data from the start of the logging session, including both old and new data, in every call. It does not return only the new sensor data since the last call.
This means that in the code you provided, each time accellog(m) is called inside the loop, it will return the complete set of logged accelerometer data from the moment m.Logging = 1 was set, up to the current time.
How can I get the new coming sensor data? (logging=0 , logging=1 again is not a good way) matlab mobile MATLAB Answers — New Questions
Azure maps – embedding iframe
Hi All,
I have a simple map (html) with pin location and is hosted in azure. Is there any way to embed the map using iframe into a web page? I am receiving a “content unavailable” message. I can defintely confirm the map is working and have tried directly using mobile and different networks.
I think the problem is with the embed. Has anyone been successful in embedding using iframe?
Thanks
Hi All, I have a simple map (html) with pin location and is hosted in azure. Is there any way to embed the map using iframe into a web page? I am receiving a “content unavailable” message. I can defintely confirm the map is working and have tried directly using mobile and different networks. I think the problem is with the embed. Has anyone been successful in embedding using iframe? Thanks Read More
Retrieving ACR image vulnerability assessment reports in Jenkins
I am currently using Jenkins pipelines to build and test images, during the build stage I upload the newly created image to my Azure Container Registry. In a later stage I want to retrieve the results of the triggered image scan which takes place.
I am currently using az graph query to access the data I need, but that can be quite awkward and groovy doesn’t really like interpreting complex graph queries, is there an easier way to retrieve the vulnerability assessment in a Jenkins pipeline?
I am currently using Jenkins pipelines to build and test images, during the build stage I upload the newly created image to my Azure Container Registry. In a later stage I want to retrieve the results of the triggered image scan which takes place.I am currently using az graph query to access the data I need, but that can be quite awkward and groovy doesn’t really like interpreting complex graph queries, is there an easier way to retrieve the vulnerability assessment in a Jenkins pipeline? Read More
Add x1[n] = exp(−n/4), −4 ≤ n ≤ 8 with x2[n] = cos(πn/4), 0 ≤ n ≤ 12. Plot x1[n], x2[n], and y[n].
Hello, I am having a problem with this. I couldn’t identify where to start. Thank you.Hello, I am having a problem with this. I couldn’t identify where to start. Thank you. Hello, I am having a problem with this. I couldn’t identify where to start. Thank you. matlab, plot MATLAB Answers — New Questions
select subgraph from graph
Dear All,
i have a graph such as
W = [.41 .99 .51 .32 .15 .45 .38 .32 .36 .29 .21];
DG = sparse([6 1 2 2 3 4 4 5 5 6 1],[2 6 3 5 4 1 6 3 4 3 5],W)
i need to select subgraph for only some nodes such as [6,2,4]
thanks in advance
hassanDear All,
i have a graph such as
W = [.41 .99 .51 .32 .15 .45 .38 .32 .36 .29 .21];
DG = sparse([6 1 2 2 3 4 4 5 5 6 1],[2 6 3 5 4 1 6 3 4 3 5],W)
i need to select subgraph for only some nodes such as [6,2,4]
thanks in advance
hassan Dear All,
i have a graph such as
W = [.41 .99 .51 .32 .15 .45 .38 .32 .36 .29 .21];
DG = sparse([6 1 2 2 3 4 4 5 5 6 1],[2 6 3 5 4 1 6 3 4 3 5],W)
i need to select subgraph for only some nodes such as [6,2,4]
thanks in advance
hassan subgraph, graph, select MATLAB Answers — New Questions
Azure Lighthouse: Updated Entra ID Group used for Authorization with new Users
With Azure Lighthouse and the managed tenant, when applying additional users to a related Entra ID group used for authorization, how do you identify the issues when those users show they do not have access to valid customer tenants and their resources, such as Log Analytics Workspaces?
With Azure Lighthouse and the managed tenant, when applying additional users to a related Entra ID group used for authorization, how do you identify the issues when those users show they do not have access to valid customer tenants and their resources, such as Log Analytics Workspaces? Read More
why the give code doesn’t meet my requirements?
I want to Wrap angles to the range [-180, 180] degrees. For this I have the following code:
function wrapped_angles = wrapTo180(angles)
% Wrap angles to the range [-180, 180] degrees
wrapped_angles = mod(angles + 180, 360) – 180;
end
Likewise, I want Wrap angles to the range [-90, 90] degrees. For this I have the following code:
function wrapped_angles = wrapTo90(angles)
% Wrap angles to the range [-90, 90] degrees
wrapped_angles = mod(angles + 90, 180) – 90;
end
The 2nd function works correctly but the 1st one doesn’t work correctly. Why it is so?I want to Wrap angles to the range [-180, 180] degrees. For this I have the following code:
function wrapped_angles = wrapTo180(angles)
% Wrap angles to the range [-180, 180] degrees
wrapped_angles = mod(angles + 180, 360) – 180;
end
Likewise, I want Wrap angles to the range [-90, 90] degrees. For this I have the following code:
function wrapped_angles = wrapTo90(angles)
% Wrap angles to the range [-90, 90] degrees
wrapped_angles = mod(angles + 90, 180) – 90;
end
The 2nd function works correctly but the 1st one doesn’t work correctly. Why it is so? I want to Wrap angles to the range [-180, 180] degrees. For this I have the following code:
function wrapped_angles = wrapTo180(angles)
% Wrap angles to the range [-180, 180] degrees
wrapped_angles = mod(angles + 180, 360) – 180;
end
Likewise, I want Wrap angles to the range [-90, 90] degrees. For this I have the following code:
function wrapped_angles = wrapTo90(angles)
% Wrap angles to the range [-90, 90] degrees
wrapped_angles = mod(angles + 90, 180) – 90;
end
The 2nd function works correctly but the 1st one doesn’t work correctly. Why it is so? wrapping angles within a range, logic is correct but, not working, though one is working MATLAB Answers — New Questions
Wind Turbine Doubly Fed Induction Generator (Phasor Type) is operated under phasor and energy storage is discrete, this is how to solve
Hello, everyone, do you know how to change the Wind Turbine Doubly Fed Induction Generator (Phasor Type) in simulink to discrete, because the system needs to add energy storage, energy storage a lot of things are discrete, two put together can not run, How to modify it? Is it a need to redo an energy storage system that can run on phasor? How should I do this? Are there any good people willing to help meHello, everyone, do you know how to change the Wind Turbine Doubly Fed Induction Generator (Phasor Type) in simulink to discrete, because the system needs to add energy storage, energy storage a lot of things are discrete, two put together can not run, How to modify it? Is it a need to redo an energy storage system that can run on phasor? How should I do this? Are there any good people willing to help me Hello, everyone, do you know how to change the Wind Turbine Doubly Fed Induction Generator (Phasor Type) in simulink to discrete, because the system needs to add energy storage, energy storage a lot of things are discrete, two put together can not run, How to modify it? Is it a need to redo an energy storage system that can run on phasor? How should I do this? Are there any good people willing to help me wind turbine doubly fed induction generator (phaso, energy storage MATLAB Answers — New Questions
Shortest Path with Single Source Node and Multiple Target Nodes
Hi,
There is node from A to H and used shortestpath fn to find the short path
a=["A" "A" "A" "B" "B" "C" "C" "D" "D" "E" "F" "F" "G"];
b=["B" "C" "D" "D" "F" "D" "E" "E" "G" "G" "G" "H" "H"];
distance=[3 2 5 2 13 2 5 4 3 6 2 3 6];
c=digraph(a,b,distance)
plot(c,’EdgeLabel’,c.Edges.Weight)
[p,d]=shortestpath(c,"A","H")
got this
c =
digraph with properties:
Edges: [13×2 table]
Nodes: [8×1 table]
p = 1×5 string
"A" "C" "D" "G" "H" *
d = 13
But i need to have results from A to B , A to C ,…. till A to H. I have used shortestpathtree but gives only edges and nodes with distance. I need result like above one ‘p’ with multiple target nodes (with single source node). is that for loop helpful? else any other way.
Thanks in advance.Hi,
There is node from A to H and used shortestpath fn to find the short path
a=["A" "A" "A" "B" "B" "C" "C" "D" "D" "E" "F" "F" "G"];
b=["B" "C" "D" "D" "F" "D" "E" "E" "G" "G" "G" "H" "H"];
distance=[3 2 5 2 13 2 5 4 3 6 2 3 6];
c=digraph(a,b,distance)
plot(c,’EdgeLabel’,c.Edges.Weight)
[p,d]=shortestpath(c,"A","H")
got this
c =
digraph with properties:
Edges: [13×2 table]
Nodes: [8×1 table]
p = 1×5 string
"A" "C" "D" "G" "H" *
d = 13
But i need to have results from A to B , A to C ,…. till A to H. I have used shortestpathtree but gives only edges and nodes with distance. I need result like above one ‘p’ with multiple target nodes (with single source node). is that for loop helpful? else any other way.
Thanks in advance. Hi,
There is node from A to H and used shortestpath fn to find the short path
a=["A" "A" "A" "B" "B" "C" "C" "D" "D" "E" "F" "F" "G"];
b=["B" "C" "D" "D" "F" "D" "E" "E" "G" "G" "G" "H" "H"];
distance=[3 2 5 2 13 2 5 4 3 6 2 3 6];
c=digraph(a,b,distance)
plot(c,’EdgeLabel’,c.Edges.Weight)
[p,d]=shortestpath(c,"A","H")
got this
c =
digraph with properties:
Edges: [13×2 table]
Nodes: [8×1 table]
p = 1×5 string
"A" "C" "D" "G" "H" *
d = 13
But i need to have results from A to B , A to C ,…. till A to H. I have used shortestpathtree but gives only edges and nodes with distance. I need result like above one ‘p’ with multiple target nodes (with single source node). is that for loop helpful? else any other way.
Thanks in advance. shortestpath, graph, nodes, plot MATLAB Answers — New Questions
Access to function buttons
Hi,
I am using Excel via chrome on an Acer Chromebook 315 laptop. I am signed in with my school account. My concern is, I don’t have all necessary functions available to me for me to be able to get the full benefits of Excel and complete assignments. Some missing functions include the Header & Footer and Name Range From Selection. Also, when I am entering a formula, a dialog box doesn’t appear; instead, Excel directs me to enter the formula within the cell or formula box (which can inconvenience me if there’s an option I need to check in the dialog box).
I hope to receive a response soon.
Thanks.
Hi, I am using Excel via chrome on an Acer Chromebook 315 laptop. I am signed in with my school account. My concern is, I don’t have all necessary functions available to me for me to be able to get the full benefits of Excel and complete assignments. Some missing functions include the Header & Footer and Name Range From Selection. Also, when I am entering a formula, a dialog box doesn’t appear; instead, Excel directs me to enter the formula within the cell or formula box (which can inconvenience me if there’s an option I need to check in the dialog box). I hope to receive a response soon. Thanks. Read More
How to automate the Combining of several changeable PowerPoint presentations?
I have a situation where I use a single PowerPoint presentation on a regular basis, which doesn’t change. However, within that presentation, I would now like to insert (probably via “Insert Object”) several different and smaller presentations, with their own formatting, transitions and music. Unfortunately, these additional presentations change on a weekly basis.
I am hoping to build up a library of these smaller PowerPoint presentations over time, which could then be reused, as required. What I’m looking for, is an easy way of choosing these different presentations, which would then be seamlessly combine into the master presentation, when it was played.
I was thinking about maybe having a separate information file (in something like Excell), which could contain the changeable information, making it easy to update, and protecting the overall information. I also have the issue of other people having to use this presentation on occasion, so it would need to be simple, and hard for them to “stuff it all up”!
Unfortunately, I haven’t been able to work out an easy way to do this as yet, and I was hoping someone out there could assist.
Has anyone created a system similar to this, which they could share, or if anyone has any advice or pointers on this issue, that would be really appreciated.
I have a situation where I use a single PowerPoint presentation on a regular basis, which doesn’t change. However, within that presentation, I would now like to insert (probably via “Insert Object”) several different and smaller presentations, with their own formatting, transitions and music. Unfortunately, these additional presentations change on a weekly basis.I am hoping to build up a library of these smaller PowerPoint presentations over time, which could then be reused, as required. What I’m looking for, is an easy way of choosing these different presentations, which would then be seamlessly combine into the master presentation, when it was played.I was thinking about maybe having a separate information file (in something like Excell), which could contain the changeable information, making it easy to update, and protecting the overall information. I also have the issue of other people having to use this presentation on occasion, so it would need to be simple, and hard for them to “stuff it all up”!Unfortunately, I haven’t been able to work out an easy way to do this as yet, and I was hoping someone out there could assist.Has anyone created a system similar to this, which they could share, or if anyone has any advice or pointers on this issue, that would be really appreciated. Read More
The Azure Storage product group is heading to the SNIA Developer Conference 2024
The Azure Storage product group is heading to the SNIA Developer Conference (SDC) 2024 in Santa Clara, California, USA from September 16th through September 18th. We have a large contingent of Product Managers and Engineers responsible for Azure Blob Storage and Azure Files presenting across multiple sessions at the conference as well as the Cloud Object Storage Plugfest.
If you’re attending the conference, stop by our sessions, listen in, say “Hello!” and introduce yourself as we demonstrate how Azure Storage can accommodate the largest AI training and AI inference workloads using Azure Blob Storage. Or if you’re a Files customer, stop by our sessions on Azure Files and SMB.
Session catalog
Date
Session title
Speakers
Track
17 September 2024 @ 3:05PM PT
Elevating Linux File Access: Recent Enhancements to the SMB 3.1.1 Client
Steven French – Principal Software Engineer – Azure Storage
File Systems & Protocols
17 September 2024 @ 4:05PM PT
Cloud Storage Considerations for Retrieval Augmented Generation (RAG) in AI Applications
Vamshidhar Kommineni – Group Product Manager
Saurabh Sensharma – Principal Product Manager
AI / ML Applications for Storage
17 September @ 4:05PM PT
Demystifying Linux SMB Mount Options
Bharath S M – Senior Software Engineer
Shyam Prasad – Principal Software Engineering Manager
File Systems & Protocols
18 September @ 9:30AM PT
DNA Data Storage “End-to-End” System Concept
Shruti Sethi – Senior Technical Manager
Archival Storage
18 September @ 11:35AM PT
Azure Files: Design Challenges for the Biggest File Server in the World
Utsav Mohata – Principal Software Engineer
Rena Shah – Senior Product Manager
File Systems & Protocols
18 September 2024 @ 2:30PM PT
Supercharging OpenAI Training with Microsoft’s Azure Blob Storage
Jason Vallery – Group Product Manager – Azure Blob Storage
Jegan Devaraju – Group Engineering Manager – Azure Blob Storage
AI / ML Infrastructure
18 September @ 2:30PM PT
Troubleshooting/Debugging Issues on Linux SMB Client
Bharath S M – Senior Software Engineer
File Systems & Protocols
16 September – 18 September
Scott Hoag – Principal Product Manager – Azure Object Storage
Pete Imming – Principal Product Manager – Azure Object Storage
Ryan Erdmann – Principal Software Engineer
Plugfest
16 September – 19 September
Azure Files engineering team
IO Lab
Microsoft Tech Community – Latest Blogs –Read More