Category: News
Error code 0x800ccc1a
Hello,
i have an problem with outlook. I use windows 7 and when i am starting outlook there is the error code 0x800ccc1a and i cant get and send email.
Thanks for helping,
Best wishes
Laurenz
Hello,i have an problem with outlook. I use windows 7 and when i am starting outlook there is the error code 0x800ccc1a and i cant get and send email.Thanks for helping, Best wishesLaurenz Read More
Delegate
We are trying to use PowerShell to set the delegation of a user’s calendar to an other user’s account.
Add-MailboxFolderPermission -Identity [EMAIL_ADDRESS1]:Calendar -User [EMAIL_ADDRESS2] -AccessRights Editor -SharingPermissionFlags Delegate,CanViewPrivateItems
We ran the script, however, it only set the delegation to “Delegate Only” and we wanted to set it to “Both my delegate and me” so both people can receive and respond to the meeting invite.
Any way to achieve that?
We are trying to use PowerShell to set the delegation of a user’s calendar to an other user’s account. Add-MailboxFolderPermission -Identity [EMAIL_ADDRESS1]:Calendar -User [EMAIL_ADDRESS2] -AccessRights Editor -SharingPermissionFlags Delegate,CanViewPrivateItems We ran the script, however, it only set the delegation to “Delegate Only” and we wanted to set it to “Both my delegate and me” so both people can receive and respond to the meeting invite. Any way to achieve that? Read More
Save Big on Hosting Your Fine-Tuned Models on Azure OpenAI Service
We’ve heard your feedback loud and clear: folks want to fine tune their models, but the pricing can make experimentation too expensive. Following our update last month to switch to token based billing for training, we’re reducing the hosting charges for many of your favorite models!
Starting from July 1, we have reduced the hosting charges for many Azure OpenAI Service fine-tuned models, including our most popular models – the GPT-35-Turbo family. For folks less familiar with our service, models need to be deployed before they can be used for inferencing – and when deployed, we charge an hourly rate for hosting models. Don’t need to use your model right away? We store up to 100 non-deployed fine tuned models per resource, for free!
The new prices are published on the Azure OpenAI Service Pricing page, and listed below:
Base Model
Previous Price
New Price
(Effective July 1, 2024)
Babbage-002
$1.70 / hour
$1.70 / hour
Davinci-002
$2.00 / hour
$1.70 / hour (15% off)
GPT-35-Turbo (4K)
$3.00 / hour
$1.70 / hour (43% off)
GPT-35-Turbo (16K)
$3.00 / hour
$1.70 / hour (43% off)
Why do we charge for hosting? When you deploy a fine tune model, you’re covered by the same Azure OpenAI SLAs as our base models, with 99.9% uptime, and hosted continuously on Azure infrastructure rather than being loaded on demand. This means that once your model is deployed, there’s no wait for inferencing. And, because you’re paying for your deployment, we charge a relatively low price for inferencing (the same as the equivalent base model).
When comparing different services, you can consider the tradeoff between a fixed price for hosting and a higher per-token rate for inferencing. Because Azure OpenAI has a fixed hosting cost and low inferencing charges, for heavier inferencing workloads it may be much cheaper compared to services that just charge a premium on tokens. For example, if we assume a standard 8:1 ratio for input to output tokens and compare the costs of using a fine-tuned GPT-35-Turbo model, when your workload surpasses ~700K tokens / hour (~12K TPM), Azure OpenAI becomes the cheaper option.
We hope this will make it easier for you to use these models and explore their capabilities. Thank you for choosing Azure OpenAI Service. Happy fine tuning!
Microsoft Tech Community – Latest Blogs –Read More
Where I can find the MATLAB library *.m files?
I am looking for the MATLAB library *.m files.I am looking for the MATLAB library *.m files. I am looking for the MATLAB library *.m files. library *.m files MATLAB Answers — New Questions
Simulink simulation doesn’t end
Hello, I’m simulating a Fuel Cell system with the fuel cell simscape’s block. Is a simple system, constant in input for fuel and air pressures, stoichioimetric rate for "qair" and "qfuel", in the outport "p" and "n" i connected a power sensor and then a scope connected to the latter. I use a probe to read the value of "iFC" that is a result of the simulation to input it into a MatLab Function block to calculate the rate of production of water as a function of the current generated by the cell because I need it as an output as well. The problem I encounter is that during the simulation the little loading bar stays at 0% and it appears a writing next to it that says "T = a very little number". I am fairly new to simscape that i’m using for my bachel thesis. Is there someone that knows what is happening? Thanks so much in advance, i will attach an image of the model and write the code inside the matlab function block.
code:
function H2Opr = H2O_produced(area_cell,i_cell,Ncell)
MW_H2O = 18.01528; %g/mol
F = 9.64853321233100184*10^4; %C/mol
H2Opr = (Ncell * MW_H2O * area_cell * i_cell)/(2*F);
endHello, I’m simulating a Fuel Cell system with the fuel cell simscape’s block. Is a simple system, constant in input for fuel and air pressures, stoichioimetric rate for "qair" and "qfuel", in the outport "p" and "n" i connected a power sensor and then a scope connected to the latter. I use a probe to read the value of "iFC" that is a result of the simulation to input it into a MatLab Function block to calculate the rate of production of water as a function of the current generated by the cell because I need it as an output as well. The problem I encounter is that during the simulation the little loading bar stays at 0% and it appears a writing next to it that says "T = a very little number". I am fairly new to simscape that i’m using for my bachel thesis. Is there someone that knows what is happening? Thanks so much in advance, i will attach an image of the model and write the code inside the matlab function block.
code:
function H2Opr = H2O_produced(area_cell,i_cell,Ncell)
MW_H2O = 18.01528; %g/mol
F = 9.64853321233100184*10^4; %C/mol
H2Opr = (Ncell * MW_H2O * area_cell * i_cell)/(2*F);
end Hello, I’m simulating a Fuel Cell system with the fuel cell simscape’s block. Is a simple system, constant in input for fuel and air pressures, stoichioimetric rate for "qair" and "qfuel", in the outport "p" and "n" i connected a power sensor and then a scope connected to the latter. I use a probe to read the value of "iFC" that is a result of the simulation to input it into a MatLab Function block to calculate the rate of production of water as a function of the current generated by the cell because I need it as an output as well. The problem I encounter is that during the simulation the little loading bar stays at 0% and it appears a writing next to it that says "T = a very little number". I am fairly new to simscape that i’m using for my bachel thesis. Is there someone that knows what is happening? Thanks so much in advance, i will attach an image of the model and write the code inside the matlab function block.
code:
function H2Opr = H2O_produced(area_cell,i_cell,Ncell)
MW_H2O = 18.01528; %g/mol
F = 9.64853321233100184*10^4; %C/mol
H2Opr = (Ncell * MW_H2O * area_cell * i_cell)/(2*F);
end fuel cell, simscape MATLAB Answers — New Questions
Help with matlab Butterworth filter with signal processing
Hello everyone,
I am currently using Matlab 2020 to run semg signals the matlab’s simulink to process the signal. I am on the last step and need to add a Butterworth filter I am running into error messages that I do not know how to fix. This is for live signal processing aswell. I will attach the code below and the error messages that I am recieving I would highly apperciate it if someone could fix the code and explain what they did. I am still learning how to code in Matlab. Thank you in advance
function y = fcn(u, fs)
persistent Hd;
persistent filter_initialized;
if isempty(filter_initialized)
filter_order = 5;
low_cutoff = 20;
high_cutoff = 500;
Wn = [low_cutoff high_cutoff] / (fs / 2);
[b, a] = butter(filter_order, Wn, ‘bandpass’);
[sos,g] = butter2sos(b,a);
g = sqrt(prod(Wn));
Hd = dsp.BiquadFilter(‘SOSMatrix’, sos, ‘ScaleValues’, g);
filter_initalized = true;
end
y = step(Hd, u);
end
function [sos, g] = butter2sos(b,a)
end
errors that I am getting below:
Output argument ‘sos’ is not assigned on some execution paths. Function ‘MATLAB Function1’ (#36.473.476), line 25, column 11: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Function call failed. Function ‘MATLAB Function1’ (#36.284.309), line 17, column 1: "[sos,g] = butter2sos(b,a)" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘sos’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.285.288), line 17, column 2: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘g’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.289.290), line 17, column 6: "g" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘sos’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.372.375), line 20, column 36: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Persistent variable ‘Hd’ must be assigned before it is used. The only exception is a check using ‘isempty(Hd)’ that can be performed prior to assignment. Function ‘MATLAB Function1’ (#36.450.452), line 23, column 12: "Hd" Launch diagnostic report.Hello everyone,
I am currently using Matlab 2020 to run semg signals the matlab’s simulink to process the signal. I am on the last step and need to add a Butterworth filter I am running into error messages that I do not know how to fix. This is for live signal processing aswell. I will attach the code below and the error messages that I am recieving I would highly apperciate it if someone could fix the code and explain what they did. I am still learning how to code in Matlab. Thank you in advance
function y = fcn(u, fs)
persistent Hd;
persistent filter_initialized;
if isempty(filter_initialized)
filter_order = 5;
low_cutoff = 20;
high_cutoff = 500;
Wn = [low_cutoff high_cutoff] / (fs / 2);
[b, a] = butter(filter_order, Wn, ‘bandpass’);
[sos,g] = butter2sos(b,a);
g = sqrt(prod(Wn));
Hd = dsp.BiquadFilter(‘SOSMatrix’, sos, ‘ScaleValues’, g);
filter_initalized = true;
end
y = step(Hd, u);
end
function [sos, g] = butter2sos(b,a)
end
errors that I am getting below:
Output argument ‘sos’ is not assigned on some execution paths. Function ‘MATLAB Function1’ (#36.473.476), line 25, column 11: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Function call failed. Function ‘MATLAB Function1’ (#36.284.309), line 17, column 1: "[sos,g] = butter2sos(b,a)" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘sos’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.285.288), line 17, column 2: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘g’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.289.290), line 17, column 6: "g" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘sos’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.372.375), line 20, column 36: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Persistent variable ‘Hd’ must be assigned before it is used. The only exception is a check using ‘isempty(Hd)’ that can be performed prior to assignment. Function ‘MATLAB Function1’ (#36.450.452), line 23, column 12: "Hd" Launch diagnostic report. Hello everyone,
I am currently using Matlab 2020 to run semg signals the matlab’s simulink to process the signal. I am on the last step and need to add a Butterworth filter I am running into error messages that I do not know how to fix. This is for live signal processing aswell. I will attach the code below and the error messages that I am recieving I would highly apperciate it if someone could fix the code and explain what they did. I am still learning how to code in Matlab. Thank you in advance
function y = fcn(u, fs)
persistent Hd;
persistent filter_initialized;
if isempty(filter_initialized)
filter_order = 5;
low_cutoff = 20;
high_cutoff = 500;
Wn = [low_cutoff high_cutoff] / (fs / 2);
[b, a] = butter(filter_order, Wn, ‘bandpass’);
[sos,g] = butter2sos(b,a);
g = sqrt(prod(Wn));
Hd = dsp.BiquadFilter(‘SOSMatrix’, sos, ‘ScaleValues’, g);
filter_initalized = true;
end
y = step(Hd, u);
end
function [sos, g] = butter2sos(b,a)
end
errors that I am getting below:
Output argument ‘sos’ is not assigned on some execution paths. Function ‘MATLAB Function1’ (#36.473.476), line 25, column 11: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Function call failed. Function ‘MATLAB Function1’ (#36.284.309), line 17, column 1: "[sos,g] = butter2sos(b,a)" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘sos’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.285.288), line 17, column 2: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘g’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.289.290), line 17, column 6: "g" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable ‘sos’. The first assignment to a local variable determines its class. Function ‘MATLAB Function1’ (#36.372.375), line 20, column 36: "sos" Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Persistent variable ‘Hd’ must be assigned before it is used. The only exception is a check using ‘isempty(Hd)’ that can be performed prior to assignment. Function ‘MATLAB Function1’ (#36.450.452), line 23, column 12: "Hd" Launch diagnostic report. butterworth filter, matlab, simulink MATLAB Answers — New Questions
How do you open a .xlsx file in excel from matlab.
I am trying to open up a .xlsx file from matlab, and have it open in excel. Right now I am using the command open(filename). This will open the .xlsx in matlab, but i want it opened in excel. The command opentxt(filename) is nice, because it will open a .txt file in notepad. I am looking for something like that for .xls/.xlsx files in excel.I am trying to open up a .xlsx file from matlab, and have it open in excel. Right now I am using the command open(filename). This will open the .xlsx in matlab, but i want it opened in excel. The command opentxt(filename) is nice, because it will open a .txt file in notepad. I am looking for something like that for .xls/.xlsx files in excel. I am trying to open up a .xlsx file from matlab, and have it open in excel. Right now I am using the command open(filename). This will open the .xlsx in matlab, but i want it opened in excel. The command opentxt(filename) is nice, because it will open a .txt file in notepad. I am looking for something like that for .xls/.xlsx files in excel. excel MATLAB Answers — New Questions
send messages to a team’s chat using graph api on python
Hi!
Id like to receive some help.
I want to know it its possible to send a message to a chat gruop. The object its to code a python script which among other things it sends a message to a concrect group on teams (just a chat group, not a channel). I’ve all permissions required but until now i’ve not accomplished what i want to.
If what i want its possible, do i have to authenticate everytime i run the code or there’s some way to auto-authenticate?
I’ve tried using this guide https://learn.microsoft.com/es-es/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=python
but could not to get nothing.
If someone could help me with any code example i’ll be gratefull
Hi!Id like to receive some help.I want to know it its possible to send a message to a chat gruop. The object its to code a python script which among other things it sends a message to a concrect group on teams (just a chat group, not a channel). I’ve all permissions required but until now i’ve not accomplished what i want to. If what i want its possible, do i have to authenticate everytime i run the code or there’s some way to auto-authenticate?I’ve tried using this guide https://learn.microsoft.com/es-es/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=pythonbut could not to get nothing. If someone could help me with any code example i’ll be gratefull Read More
General Availability: Customer Key Onboarding Service
We are thrilled to announce the General Availability of the Customer Key Onboarding Automation Service, a game-changer for organizations in highly regulated industries. This feature has been designed to streamline and simplify your onboarding process for Customer Key, delivering significant time savings and efficiency improvements.
Key Benefits:
Faster Onboarding: The average onboarding process duration has been reduced from 1.5 weeks to just one hour. You can now seamlessly register your subscriptions, automatically verify the configuration of your Azure Key Vault and subscription resources, and onboard your tenant without needing email communication with Microsoft.
Enhanced Feedback: The service now provides detailed configurations needed for each resource. Intuitive feedback includes specific error messages and guidance on what needs to be fixed, making the process even smoother.
Unsupported Scenarios:
However, we plan to expand the service’s capabilities to include these scenarios in the future.
Government tenants
Tenants using managed HSMs will still require manual onboarding.
For more information on how to use the Customer Key Onboarding Automation Service, please visit Onboard using the Customer Key Onboarding Service.
We are excited about the improvements this service brings and look forward to continuing to enhance your experience with Microsoft 365.
Sincerely,
The M365 Data-at-Rest Encryption Team
We are thrilled to announce the General Availability of the Customer Key Onboarding Automation Service, a game-changer for organizations in highly regulated industries. This feature has been designed to streamline and simplify your onboarding process for Customer Key, delivering significant time savings and efficiency improvements.
Key Benefits:
Faster Onboarding: The average onboarding process duration has been reduced from 1.5 weeks to just one hour. You can now seamlessly register your subscriptions, automatically verify the configuration of your Azure Key Vault and subscription resources, and onboard your tenant without needing email communication with Microsoft.
Enhanced Feedback: The service now provides detailed configurations needed for each resource. Intuitive feedback includes specific error messages and guidance on what needs to be fixed, making the process even smoother.
Unsupported Scenarios:
However, we plan to expand the service’s capabilities to include these scenarios in the future.
Government tenants
Tenants using managed HSMs will still require manual onboarding.
For more information on how to use the Customer Key Onboarding Automation Service, please visit Onboard using the Customer Key Onboarding Service.
We are excited about the improvements this service brings and look forward to continuing to enhance your experience with Microsoft 365.
Sincerely,
The M365 Data-at-Rest Encryption Team
Read More
Children’s Hospital of Philadelphia transforms fundraising with Moore
Experts at Children’s Hospital of Philadelphia (CHOP) have delivered many firsts in pediatrics—from the first bilateral transplant to the first fetal heart surgery, and the breakthroughs for children continue to happen every day. They developed a new tool to better study genetic variants linked to childhood cancer and other diseases. And they are advancing an in-utero cure for sickle cell disease, which affects one in every 375 African Americans.
“We provide some of the world’s leading pediatric care and research, pioneering approaches that help kids grow up healthier,” says Jon Thompson, Associate Vice President of Philanthropic Strategy and Technology at CHOP. As the nation’s first pediatric hospital, CHOP serves patients from around the world, consults on the most difficult cases at other hospitals, and invents life-saving strategies used across the globe.
To fund this critical work, CHOP sought to maximize its fundraising through deeper constituent relationships. The children’s hospital partnered with Moore, the constituent experience management company that leverages data and predictive modeling to advance nonprofits’ fundraising goals. Moore is also part of the Microsoft Tech for Social Impact (TSI) Digital Natives Partner Program, which accelerates the impact of cloud-first software providers through technical, AI-focused expertise and go-to-market support.
Moore developed a novel constituent identity solution and pipeline for CHOP using Microsoft Azure. “With Moore, we have built something that the industry hasn’t seen before—a data-powered, constituent-first marketing operation that links people and causes,” Thompson says. “Microsoft, specifically the Azure platform, allows us to scale that. This technology ultimately drives empathy and human connection.”
Experts at Children’s Hospital of Philadelphia (CHOP) have delivered many firsts in pediatrics—from the first bilateral transplant to the first fetal heart surgery, and the breakthroughs for children continue to happen every day. They developed a new tool to better study genetic variants linked to childhood cancer and other diseases. And they are advancing an in-utero cure for sickle cell disease, which affects one in every 375 African Americans.
“We provide some of the world’s leading pediatric care and research, pioneering approaches that help kids grow up healthier,” says Jon Thompson, Associate Vice President of Philanthropic Strategy and Technology at CHOP. As the nation’s first pediatric hospital, CHOP serves patients from around the world, consults on the most difficult cases at other hospitals, and invents life-saving strategies used across the globe.
To fund this critical work, CHOP sought to maximize its fundraising through deeper constituent relationships. The children’s hospital partnered with Moore, the constituent experience management company that leverages data and predictive modeling to advance nonprofits’ fundraising goals. Moore is also part of the Microsoft Tech for Social Impact (TSI) Digital Natives Partner Program, which accelerates the impact of cloud-first software providers through technical, AI-focused expertise and go-to-market support.
Moore developed a novel constituent identity solution and pipeline for CHOP using Microsoft Azure. “With Moore, we have built something that the industry hasn’t seen before—a data-powered, constituent-first marketing operation that links people and causes,” Thompson says. “Microsoft, specifically the Azure platform, allows us to scale that. This technology ultimately drives empathy and human connection.”
Read the case study Read More
Data disk is full
Hi
my database disk is full. I want to extend the disk. Is there any recommendation before extending?
regards
Himy database disk is full. I want to extend the disk. Is there any recommendation before extending? regards Read More
New Nonprofit Community Goals for FY25
We launched the Nonprofit Community at the Summit this year as a new initiative for nonprofit listening, storytelling, and peer-to-peer community building. We are grateful for the support from our partners. Thank you!
Now we’d like to share important changes to how we are evolving the Nonprofit Community in FY25
The Tech Community platform will be re-focused as a platform for post-sales tech Q&A with nonprofit customers, providing direct tech solutions and discussion spaces for nonprofits.
The nonprofitcommunity.microsoft.com address and aka.ms/nonprofitcommunity will be redirected directly to Tech Community.
We encourage you to continue to engage in the community and to be available to ask/answer questions constructively as that will help build a useful community.
As part of this realignment, the blog and events calendar on Nonprofit Community will sunset, effective July (existing articles and posts will remain live).
LinkedIn will become our new focus for announcements, stories, and nonprofit community building.
Stay up to date with the Nonprofit Community
We launched the Nonprofit Community at the Summit this year as a new initiative for nonprofit listening, storytelling, and peer-to-peer community building. We are grateful for the support from our partners. Thank you!
Now we’d like to share important changes to how we are evolving the Nonprofit Community in FY25
The Tech Community platform will be re-focused as a platform for post-sales tech Q&A with nonprofit customers, providing direct tech solutions and discussion spaces for nonprofits.
The nonprofitcommunity.microsoft.com address and aka.ms/nonprofitcommunity will be redirected directly to Tech Community.
We encourage you to continue to engage in the community and to be available to ask/answer questions constructively as that will help build a useful community.
As part of this realignment, the blog and events calendar on Nonprofit Community will sunset, effective July (existing articles and posts will remain live).
LinkedIn will become our new focus for announcements, stories, and nonprofit community building.
Stay up to date with the Nonprofit Community
Read More
Issues with MS Teams Connectors
Hi,We recently started having issues adding new connectors to MS Teams channels for message posting. It was working ok few weeks ago as we were able to search for connectors and add it to the channels. Connectors can no longer be found from the lists in the attached image. We tried to access the connector developer portal at https://outlook.office.com/connectors/publish but the page is down. This has prevented us from testing some of our recent changes that we made to our integration.Also, we are now having issues with messages getting to our MS Teams walls in production. No changes have been made recently to our production Bot connector, but it’s throwing a 403 errors now when posting messages.Kindly provide us with any details on what we need to do as it now seems our MS teams connector integration is broken and affecting our clients Read More
With a ribbon plot, how to make the ribbons go along each matrix row instead of each column?
In the ribbon command, the ribbons run along each column of the matrix. The Y vector must be of length = to the number of rows in the matrix. How do I get the ribbons to run along each row of the matrix? I tried many combinations of flipud, fliplr, transpose, etc., and either the axis is going in the wrong direction, or the labels are wrong.
Z=[0,1,2,2; 1,2,3,3; 2,3,4,4; 3,4,5,5]
Y=[0;1;2;3]
ribbon(Y,Z,0.1);
Here the ribbons run in the y direction, but I want them to run in the x direction. Nothing else, e.g., the axis numbering, should change.In the ribbon command, the ribbons run along each column of the matrix. The Y vector must be of length = to the number of rows in the matrix. How do I get the ribbons to run along each row of the matrix? I tried many combinations of flipud, fliplr, transpose, etc., and either the axis is going in the wrong direction, or the labels are wrong.
Z=[0,1,2,2; 1,2,3,3; 2,3,4,4; 3,4,5,5]
Y=[0;1;2;3]
ribbon(Y,Z,0.1);
Here the ribbons run in the y direction, but I want them to run in the x direction. Nothing else, e.g., the axis numbering, should change. In the ribbon command, the ribbons run along each column of the matrix. The Y vector must be of length = to the number of rows in the matrix. How do I get the ribbons to run along each row of the matrix? I tried many combinations of flipud, fliplr, transpose, etc., and either the axis is going in the wrong direction, or the labels are wrong.
Z=[0,1,2,2; 1,2,3,3; 2,3,4,4; 3,4,5,5]
Y=[0;1;2;3]
ribbon(Y,Z,0.1);
Here the ribbons run in the y direction, but I want them to run in the x direction. Nothing else, e.g., the axis numbering, should change. ribbon plot orientation MATLAB Answers — New Questions
Loading satellite TLE data into MATLAB using satellite function
Using TLE data from an online database, MATLAB throws the error "The specified initial conditions will cause the orbit of ‘STARLINK-2438’ to intersect the Earth’s surface." when using this function:
clc
clearvars
close all
format long
G = 3.986004418e14;
% Create a satellite scenario and add ground stations from latitudes and longitudes.
startTime = datetime(2024,7,18,13,00,41);
stopTime = startTime + days(1);
sampleTime = 60*1;
sc = satelliteScenario(startTime,stopTime,sampleTime);
sat = satellite(sc,’test_tle.txt’)
The TLE data in "test_tle.txt" is as follows:
STARLINK-2438
1 48103U 21027M 24199.52200852 .27610719 12343-4 29456-2 0 9995
2 48103 53.0228 234.3624 0004658 334.7729 174.1970 16.36724891183121
when manually importing the values into the function, I dont receive the error:
% Mean Motion Line2 Field 8
semiMajorAxis = (G)^(1/3)/((2*pi*(16.36724891183121)/86400)^(2/3)); % ref : https://space.stackexchange.com/questions/18289/how-to-get-semi-major-axis-from-tle
% Eccentricity Line2 Field 5
eccentricity = 0.0004658;
% Inclination Line2 Field 3
inclination = 53.0228;
% Right Ascension of the asending node Line2 Field 4
rightAscensionOfAscendingNode = 234.3624;
% Argument of perigee Line2 Field 6
argumentOfPeriapsis = 334.7729;
% Mean Anomaly Line2 Field 7
trueAnomaly = 174.1970;
sat = satellite(sc,semiMajorAxis,eccentricity,inclination, …
rightAscensionOfAscendingNode,argumentOfPeriapsis,trueAnomaly);Using TLE data from an online database, MATLAB throws the error "The specified initial conditions will cause the orbit of ‘STARLINK-2438’ to intersect the Earth’s surface." when using this function:
clc
clearvars
close all
format long
G = 3.986004418e14;
% Create a satellite scenario and add ground stations from latitudes and longitudes.
startTime = datetime(2024,7,18,13,00,41);
stopTime = startTime + days(1);
sampleTime = 60*1;
sc = satelliteScenario(startTime,stopTime,sampleTime);
sat = satellite(sc,’test_tle.txt’)
The TLE data in "test_tle.txt" is as follows:
STARLINK-2438
1 48103U 21027M 24199.52200852 .27610719 12343-4 29456-2 0 9995
2 48103 53.0228 234.3624 0004658 334.7729 174.1970 16.36724891183121
when manually importing the values into the function, I dont receive the error:
% Mean Motion Line2 Field 8
semiMajorAxis = (G)^(1/3)/((2*pi*(16.36724891183121)/86400)^(2/3)); % ref : https://space.stackexchange.com/questions/18289/how-to-get-semi-major-axis-from-tle
% Eccentricity Line2 Field 5
eccentricity = 0.0004658;
% Inclination Line2 Field 3
inclination = 53.0228;
% Right Ascension of the asending node Line2 Field 4
rightAscensionOfAscendingNode = 234.3624;
% Argument of perigee Line2 Field 6
argumentOfPeriapsis = 334.7729;
% Mean Anomaly Line2 Field 7
trueAnomaly = 174.1970;
sat = satellite(sc,semiMajorAxis,eccentricity,inclination, …
rightAscensionOfAscendingNode,argumentOfPeriapsis,trueAnomaly); Using TLE data from an online database, MATLAB throws the error "The specified initial conditions will cause the orbit of ‘STARLINK-2438’ to intersect the Earth’s surface." when using this function:
clc
clearvars
close all
format long
G = 3.986004418e14;
% Create a satellite scenario and add ground stations from latitudes and longitudes.
startTime = datetime(2024,7,18,13,00,41);
stopTime = startTime + days(1);
sampleTime = 60*1;
sc = satelliteScenario(startTime,stopTime,sampleTime);
sat = satellite(sc,’test_tle.txt’)
The TLE data in "test_tle.txt" is as follows:
STARLINK-2438
1 48103U 21027M 24199.52200852 .27610719 12343-4 29456-2 0 9995
2 48103 53.0228 234.3624 0004658 334.7729 174.1970 16.36724891183121
when manually importing the values into the function, I dont receive the error:
% Mean Motion Line2 Field 8
semiMajorAxis = (G)^(1/3)/((2*pi*(16.36724891183121)/86400)^(2/3)); % ref : https://space.stackexchange.com/questions/18289/how-to-get-semi-major-axis-from-tle
% Eccentricity Line2 Field 5
eccentricity = 0.0004658;
% Inclination Line2 Field 3
inclination = 53.0228;
% Right Ascension of the asending node Line2 Field 4
rightAscensionOfAscendingNode = 234.3624;
% Argument of perigee Line2 Field 6
argumentOfPeriapsis = 334.7729;
% Mean Anomaly Line2 Field 7
trueAnomaly = 174.1970;
sat = satellite(sc,semiMajorAxis,eccentricity,inclination, …
rightAscensionOfAscendingNode,argumentOfPeriapsis,trueAnomaly); satellite, tle MATLAB Answers — New Questions
How store evolution of x over the iterations of lsqnonlin?
Hi,
I’m solving a nonlinear system of equations with lsqnonlin and want to save the evolution of values of X.
The ouput of the system is defined by a function file ‘error.m’, which takes X with size 4×1 and returns a vector of residuals with size 8×1.
I run a script with the structure below that sets the some fixed parameters for error.m, then calls the lsqnonlin solver and error.m for n cases.
clear all,clc,close all
load measure;
%initialization: set some constant inputs for ‘error.m’ and options for the
%solver
% solve nCases
for i=1:nCases
inputs.measured=measure(i);
X=lsqnonlin(@(x)error(inputs,x),x0,lb,ub,options)
save X X;
end
I want to store the values of X over the iterations, not only the solution. There are these examples in Optimization Solver Output Functions, but they use nested functions and I don’t know how to adapt them to my script structure.
function stop = myoutput(x,optimvalues,state);
stop = false;
if isequal(state,’iter’)
history = [history; x];
end
end
How will the output function ‘myoutput’ access the variable X inside the lsqnonlin?
I’ve tried to write the myoutput at the end of the main script, predefined history = [ ] in the for loop i=1:nCases and set options = optimset(‘OutputFcn’, @myoutput);
However, the function ‘myoutput’ doesn’t find th ehistory variable to append. Why is that happening?Hi,
I’m solving a nonlinear system of equations with lsqnonlin and want to save the evolution of values of X.
The ouput of the system is defined by a function file ‘error.m’, which takes X with size 4×1 and returns a vector of residuals with size 8×1.
I run a script with the structure below that sets the some fixed parameters for error.m, then calls the lsqnonlin solver and error.m for n cases.
clear all,clc,close all
load measure;
%initialization: set some constant inputs for ‘error.m’ and options for the
%solver
% solve nCases
for i=1:nCases
inputs.measured=measure(i);
X=lsqnonlin(@(x)error(inputs,x),x0,lb,ub,options)
save X X;
end
I want to store the values of X over the iterations, not only the solution. There are these examples in Optimization Solver Output Functions, but they use nested functions and I don’t know how to adapt them to my script structure.
function stop = myoutput(x,optimvalues,state);
stop = false;
if isequal(state,’iter’)
history = [history; x];
end
end
How will the output function ‘myoutput’ access the variable X inside the lsqnonlin?
I’ve tried to write the myoutput at the end of the main script, predefined history = [ ] in the for loop i=1:nCases and set options = optimset(‘OutputFcn’, @myoutput);
However, the function ‘myoutput’ doesn’t find th ehistory variable to append. Why is that happening? Hi,
I’m solving a nonlinear system of equations with lsqnonlin and want to save the evolution of values of X.
The ouput of the system is defined by a function file ‘error.m’, which takes X with size 4×1 and returns a vector of residuals with size 8×1.
I run a script with the structure below that sets the some fixed parameters for error.m, then calls the lsqnonlin solver and error.m for n cases.
clear all,clc,close all
load measure;
%initialization: set some constant inputs for ‘error.m’ and options for the
%solver
% solve nCases
for i=1:nCases
inputs.measured=measure(i);
X=lsqnonlin(@(x)error(inputs,x),x0,lb,ub,options)
save X X;
end
I want to store the values of X over the iterations, not only the solution. There are these examples in Optimization Solver Output Functions, but they use nested functions and I don’t know how to adapt them to my script structure.
function stop = myoutput(x,optimvalues,state);
stop = false;
if isequal(state,’iter’)
history = [history; x];
end
end
How will the output function ‘myoutput’ access the variable X inside the lsqnonlin?
I’ve tried to write the myoutput at the end of the main script, predefined history = [ ] in the for loop i=1:nCases and set options = optimset(‘OutputFcn’, @myoutput);
However, the function ‘myoutput’ doesn’t find th ehistory variable to append. Why is that happening? lsqnonlin, output, iteration, optimization MATLAB Answers — New Questions
How to verify/debug LDAP authentication?
I have enabled LDAP authentication for my MATLAB Web App Server. The server can start successfully but I couldn’t log in. What is wrong?I have enabled LDAP authentication for my MATLAB Web App Server. The server can start successfully but I couldn’t log in. What is wrong? I have enabled LDAP authentication for my MATLAB Web App Server. The server can start successfully but I couldn’t log in. What is wrong? MATLAB Answers — New Questions
How to effectively use EXCEL when tracking Credit Card payments.
I would like to be able to track the use of my credit card for specific entities.
Can someone help me set it up? I am not that familiar with Excel.
I would like to be able to track the use of my credit card for specific entities.Can someone help me set it up? I am not that familiar with Excel. Read More
How to Implement OAuth for a Bot-Based Message Extension App in Microsoft Teams for Graph API?
Can someone provide a detailed guide on how the OAuth flow works for a bot-based message extension in Microsoft Teams, the specific configurations needed in the Azure app registration, how to configure permissions and consent for accessing the Microsoft Graph API, and any additional settings required in the Teams Developer Portal or Bot Framework Developer Portal?
Any guidance, code examples, or references to detailed documentation would be highly beneficial.
I have created a bot-based message extension app using the Teams Toolkit and need to call the Microsoft Graph API, which requires OAuth implementation. So far, I have created the app in the Teams Developer Portal, registered the app in Azure App registration, and registered the bot in the Bot Framework Developer Portal (dev.botframework.com). However, I am unclear about the OAuth flow and the specific configurations required. Can someone provide a detailed guide on how the OAuth flow works for a bot-based message extension in Microsoft Teams, the specific configurations needed in the Azure app registration, how to configure permissions and consent for accessing the Microsoft Graph API, and any additional settings required in the Teams Developer Portal or Bot Framework Developer Portal?Any guidance, code examples, or references to detailed documentation would be highly beneficial. Read More
Part of Chart Cut off
I have created a chart in Excel but for some reason the first data point is cut off. It seems like the Y axis is overlapping the plot area but adjusting the width of the y axis does not fix the issue. Is there some way to offset the Plot area of the chart further to the right?
I have created a chart in Excel but for some reason the first data point is cut off. It seems like the Y axis is overlapping the plot area but adjusting the width of the y axis does not fix the issue. Is there some way to offset the Plot area of the chart further to the right? Read More