Month: June 2024
for double for loop error
syms x t%a g d l1 m1
%%%%%%%%%%%%%%%% Fractional Order%
alpha=2;
beta=1;
%%%%%%%%%%%% initilization of variable%%%%%%
U=zeros(1,2,’sym’);
V=zeros(1,2,’sym’);
A=zeros(1,2,’sym’);
B=zeros(1,2,’sym’);
C=zeros(1,2,’sym’);
D=zeros(1,2,’sym’);
E=zeros(1,2,’sym’);
F=zeros(1,2,’sym’);
G=zeros(1,2,’sym’);
series1(x,t)=sym(zeros(1,1));
series2(x,t)=sym(zeros(1,1));
a=1;
g=0.01;
d=0.01;
l1=-(4/9)*g^4*d+(16/27)*g^6-(5/9)*g^2*d^2-(5/54)*d^3;
m1=20*g^4*d-16*g^6+5*g^2*d^2;
U(1)=a-2*g*cot(g*x);
U(2)=-2*g^2*d*csc(g*x)*csc(g*x);
V(1)=l1-(1/9)*m1*cot(g*x)*cot(g*x);
for k=1:3
A(1)=0;
B(1)=0;
C(1)=0;
D(1)=0;
E(1)=0;
F(1)=0;
G(1)=0;
for r=1:k
A(1)=A(1)+diff(U(r),x,2)*diff(U(k-r+1),x,3);
B(1)=B(1)+diff(U(r),x,1)*diff(U(k-r+1),x,4);
D(1)=D(1)+diff(U(r),x,2)*(k-r+1)*U(k-r+1);
E(1)=E(1)+diff(U(r),x,1)*(k-r+1)*diff(U(k-r+1),x,1);
F(1)=F(1)+diff(V(r),x,1)*diff(U(k-r+1),x,1);
G(1)=G(1)+V(r)*diff(U(k-r+1),x,2);
for l=1:r
C(1)=C(1)+diff(U(l),x,1)*diff(U(r-l+1),x,1)*diff(U(k-r+1),x,2);% 4th term
end
end
U(k+2)=gamma(((k-1)*alpha)+1)/gamma((alpha*(k+1-1))+1)*((1/5)*diff(U(k),x,6)+3*A(1)+3*B(1)+9*C(1)-(k)*diff(U(k+1),x,2)-3*D(1)-3*E(1)+(18/5)*diff(V(k),x,1))
V(k+1)=gamma(((k-1)*beta)+1)/gamma((beta*(k+1-1))+1)*(diff(V(k),x,3)+3*F(1)+3*G(1));
end
for k=1:2
series1(x,t)=simplify(series1(x,t)+U(k)*power(t,k-1));
series2(x,t)=simplify(series2(x,t)+V(k)*power(t,k-1));
end
series1
series2
row=0
for r=1:10:110
row=row+1;
col=0;
e=r-1
for t=1
col=col+1;
f=t+19
C1(row,col)=series1(e,f);
C2(row,col)=series2(e,f);
end
end
vpa(C1,15)
vpa(C2,15)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
x=10:10:100
t=20
row=0
for i=1:length(x)
row=row+1
col=col+1
for j=1:length(t)
C1(row, col) =series1(x(i), t(i))
C2(row,col) =series2(x(i),t(i))
end
end
This two for loop shows thw different value of C1 and C2 . The first for loop gives the correct value for C1 but not C2. But the second loop give both wrong
.
I want know the value of x anf t are same then why for loop show two different valuesyms x t%a g d l1 m1
%%%%%%%%%%%%%%%% Fractional Order%
alpha=2;
beta=1;
%%%%%%%%%%%% initilization of variable%%%%%%
U=zeros(1,2,’sym’);
V=zeros(1,2,’sym’);
A=zeros(1,2,’sym’);
B=zeros(1,2,’sym’);
C=zeros(1,2,’sym’);
D=zeros(1,2,’sym’);
E=zeros(1,2,’sym’);
F=zeros(1,2,’sym’);
G=zeros(1,2,’sym’);
series1(x,t)=sym(zeros(1,1));
series2(x,t)=sym(zeros(1,1));
a=1;
g=0.01;
d=0.01;
l1=-(4/9)*g^4*d+(16/27)*g^6-(5/9)*g^2*d^2-(5/54)*d^3;
m1=20*g^4*d-16*g^6+5*g^2*d^2;
U(1)=a-2*g*cot(g*x);
U(2)=-2*g^2*d*csc(g*x)*csc(g*x);
V(1)=l1-(1/9)*m1*cot(g*x)*cot(g*x);
for k=1:3
A(1)=0;
B(1)=0;
C(1)=0;
D(1)=0;
E(1)=0;
F(1)=0;
G(1)=0;
for r=1:k
A(1)=A(1)+diff(U(r),x,2)*diff(U(k-r+1),x,3);
B(1)=B(1)+diff(U(r),x,1)*diff(U(k-r+1),x,4);
D(1)=D(1)+diff(U(r),x,2)*(k-r+1)*U(k-r+1);
E(1)=E(1)+diff(U(r),x,1)*(k-r+1)*diff(U(k-r+1),x,1);
F(1)=F(1)+diff(V(r),x,1)*diff(U(k-r+1),x,1);
G(1)=G(1)+V(r)*diff(U(k-r+1),x,2);
for l=1:r
C(1)=C(1)+diff(U(l),x,1)*diff(U(r-l+1),x,1)*diff(U(k-r+1),x,2);% 4th term
end
end
U(k+2)=gamma(((k-1)*alpha)+1)/gamma((alpha*(k+1-1))+1)*((1/5)*diff(U(k),x,6)+3*A(1)+3*B(1)+9*C(1)-(k)*diff(U(k+1),x,2)-3*D(1)-3*E(1)+(18/5)*diff(V(k),x,1))
V(k+1)=gamma(((k-1)*beta)+1)/gamma((beta*(k+1-1))+1)*(diff(V(k),x,3)+3*F(1)+3*G(1));
end
for k=1:2
series1(x,t)=simplify(series1(x,t)+U(k)*power(t,k-1));
series2(x,t)=simplify(series2(x,t)+V(k)*power(t,k-1));
end
series1
series2
row=0
for r=1:10:110
row=row+1;
col=0;
e=r-1
for t=1
col=col+1;
f=t+19
C1(row,col)=series1(e,f);
C2(row,col)=series2(e,f);
end
end
vpa(C1,15)
vpa(C2,15)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
x=10:10:100
t=20
row=0
for i=1:length(x)
row=row+1
col=col+1
for j=1:length(t)
C1(row, col) =series1(x(i), t(i))
C2(row,col) =series2(x(i),t(i))
end
end
This two for loop shows thw different value of C1 and C2 . The first for loop gives the correct value for C1 but not C2. But the second loop give both wrong
.
I want know the value of x anf t are same then why for loop show two different value syms x t%a g d l1 m1
%%%%%%%%%%%%%%%% Fractional Order%
alpha=2;
beta=1;
%%%%%%%%%%%% initilization of variable%%%%%%
U=zeros(1,2,’sym’);
V=zeros(1,2,’sym’);
A=zeros(1,2,’sym’);
B=zeros(1,2,’sym’);
C=zeros(1,2,’sym’);
D=zeros(1,2,’sym’);
E=zeros(1,2,’sym’);
F=zeros(1,2,’sym’);
G=zeros(1,2,’sym’);
series1(x,t)=sym(zeros(1,1));
series2(x,t)=sym(zeros(1,1));
a=1;
g=0.01;
d=0.01;
l1=-(4/9)*g^4*d+(16/27)*g^6-(5/9)*g^2*d^2-(5/54)*d^3;
m1=20*g^4*d-16*g^6+5*g^2*d^2;
U(1)=a-2*g*cot(g*x);
U(2)=-2*g^2*d*csc(g*x)*csc(g*x);
V(1)=l1-(1/9)*m1*cot(g*x)*cot(g*x);
for k=1:3
A(1)=0;
B(1)=0;
C(1)=0;
D(1)=0;
E(1)=0;
F(1)=0;
G(1)=0;
for r=1:k
A(1)=A(1)+diff(U(r),x,2)*diff(U(k-r+1),x,3);
B(1)=B(1)+diff(U(r),x,1)*diff(U(k-r+1),x,4);
D(1)=D(1)+diff(U(r),x,2)*(k-r+1)*U(k-r+1);
E(1)=E(1)+diff(U(r),x,1)*(k-r+1)*diff(U(k-r+1),x,1);
F(1)=F(1)+diff(V(r),x,1)*diff(U(k-r+1),x,1);
G(1)=G(1)+V(r)*diff(U(k-r+1),x,2);
for l=1:r
C(1)=C(1)+diff(U(l),x,1)*diff(U(r-l+1),x,1)*diff(U(k-r+1),x,2);% 4th term
end
end
U(k+2)=gamma(((k-1)*alpha)+1)/gamma((alpha*(k+1-1))+1)*((1/5)*diff(U(k),x,6)+3*A(1)+3*B(1)+9*C(1)-(k)*diff(U(k+1),x,2)-3*D(1)-3*E(1)+(18/5)*diff(V(k),x,1))
V(k+1)=gamma(((k-1)*beta)+1)/gamma((beta*(k+1-1))+1)*(diff(V(k),x,3)+3*F(1)+3*G(1));
end
for k=1:2
series1(x,t)=simplify(series1(x,t)+U(k)*power(t,k-1));
series2(x,t)=simplify(series2(x,t)+V(k)*power(t,k-1));
end
series1
series2
row=0
for r=1:10:110
row=row+1;
col=0;
e=r-1
for t=1
col=col+1;
f=t+19
C1(row,col)=series1(e,f);
C2(row,col)=series2(e,f);
end
end
vpa(C1,15)
vpa(C2,15)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
x=10:10:100
t=20
row=0
for i=1:length(x)
row=row+1
col=col+1
for j=1:length(t)
C1(row, col) =series1(x(i), t(i))
C2(row,col) =series2(x(i),t(i))
end
end
This two for loop shows thw different value of C1 and C2 . The first for loop gives the correct value for C1 but not C2. But the second loop give both wrong
.
I want know the value of x anf t are same then why for loop show two different value for loop error MATLAB Answers — New Questions
How to download and install Windows 24H2 for Insider Preview, Beta?
I am currently on Beta channel. I am not able to find the Windows Insider Preview 24H2 version on any of the website. Is the ISO available right now to download/install manually (for Beta) or do I have to wait? If so, any estimated/approximate ETA wait time?
I am currently on Beta channel. I am not able to find the Windows Insider Preview 24H2 version on any of the website. Is the ISO available right now to download/install manually (for Beta) or do I have to wait? If so, any estimated/approximate ETA wait time? Read More
is it possible to stop users downloading chrome apps via intune?
Hi all,
Is it possible to stop users downloading app versions of sites ie youtube on chrome?
If so can this be done via intune?
Hi all, Is it possible to stop users downloading app versions of sites ie youtube on chrome? If so can this be done via intune? Read More
How can I Fix Intuit Data Protect to Backup Company Files?
I’m encountering issues with Intuit Data Protect to Backup Company Files. It’s been failing consistently, and I’m worried about data loss. What could be causing this problem, and how can I troubleshoot it effectively?
I’m encountering issues with Intuit Data Protect to Backup Company Files. It’s been failing consistently, and I’m worried about data loss. What could be causing this problem, and how can I troubleshoot it effectively? Read More
Logic app Standard Storage issue investigation using Slots
Logic Apps require an Azure Storage Account file share to host their files. Even though the Logic App site will work without a storage account, it will not be scalable across multiple instances.
Unfortunately, if the storage is inaccessible due to DNS or other network issues, both the main site and the Kudu site will not work, resulting in the following error:
System.Private.CoreLib: The network path was not found. : ‘C:\home\data\Functions\secrets\Sentinels’
Usually, to resolve network issues, we need the Kudu console working, but in this case, it is not because the site is broken.
We can make it work without a storage account by using the Slots option, which utilizes local storage.
Steps
Rename the following two environment variables by adding X at the beginning of the key name:
WEBSITE_CONTENTAZUREFILECONNECTIONSTRING
WEBSITE_CONTENTSHARE
Go to Slots and add a new one.
Click on the new Slot and go to Advanced Tools (Kudu).
In the CMD console, download the PS1 file responsible for diagnostics using the command:
curl -o “LADiag.ps1” https://raw.githubusercontent.com/mbarqawi/logicappfiles/main/LADiag.ps1
After downloading the PS1 file, switch to PowerShell to execute the script. You can find the script here: LADiag.ps1
Run the PS1 script by typing:
./LADiag.ps1
Check the file list; you will find an HTML file named ConnectionAndDnsResults.html.
Test cases
In the PowerShell:
TCPPing on all storage four endpoints. This command will ensure that the HTTPS endpoint is pingable.
Use NameResolver on all endpoints to ensure that the DNS is resolvable.
Connect to the file endpoint and list all the shares using REST HTTPS on port 443.
Perform TCPPing to the file endpoint on SMB port 445.
For additional network-related commands, you can follow this article: Networking related commands for Azure App Services.
Cleaning
After you generated the report and figure out the issue , you can delete the slot and rename back the environment variable
Microsoft Tech Community – Latest Blogs –Read More
Enhancing Training Search Experience using Azure AI Video Indexer
Training and development are vital for Companies often have vast archives of training videos, webinars, and recorded sessions. However, efficiently finding the right training content from video archives can be challenging. This example demonstrates how Azure AI Video indexer, combined with Azure Open AI, can make finding relevant video content easier for learners and trainers. Organizations struggle with the following issues in managing their training video archives:
Difficulty in locating specific content: Employees often spend excessive time searching for specific training modules or information within hundreds of training videos.
Inconsistent search results:
Poor user experience: The lack of contextually relevant search results can degrade the overall user experience, reducing the effectiveness of training programs.
The Solution
Creating a video archive search solution using Azure Video Indexer can address these challenges effectively. Here’s how:
Indexing training videos: Use Azure AI Video Indexer to extract metadata, such as transcripts, keywords, Object Character Recognition OCR and detect peopleobjects.
Advanced search capabilities: including exact time stamps in the video.
Enhanced retrieval: Use the RAG (retrieval-augmented generation) pattern to retrieve relevant segments from the training videos and generate detailed, informative responses using Large Language Models (LLM). This ensures that users not only find the right video but also get specific answers to their queries.
Benefits
Improved Search: Employees can easily find specific training content, enhancing their learning experience.
Time Efficiency: Reduces the time spent searching for information, allowing employees to focus more on learning and development.
Contextual Relevance: Delivers accurate and contextually relevant search results, improving the overall effectiveness of training programs.
Enhanced User Experience: Provides seamless and intuitive search experience, increasing user satisfaction and engagement.
General Implementation Steps
Below is a general description of the implementation steps.
Visit the Azure AI Video Indexer sample repository on GitHub for a detailed guide on how to implement the solution.
Step 1: Data Indexing with Video Indexer
Extract Metadata: Use Azure AI Video Indexer to analyze and extract metadata from your training videos. This includes transcripts, keywords, OCR and other relevant data.
Index Metadata: Index the extracted metadata using Azure AI Search or other Vector DB to create a searchable database.
Step 2: Configure Azure OpenAI Service
Set Up ChatGPT: Configure the Azure OpenAI Service to access the ChatGPT model, enabling natural language understanding and generation capabilities.
Integrate with Search: Connect the Azure OpenAI Service to your indexed data, allowing it to process and respond to user queries.
Step 3: Develop Search Interface
User Interface: Create a user-friendly interface where employees can input their queries. This interface should support natural language queries and provide clear, concise search results.
Query Processing: Implement query processing using the RAG pattern. Retrieve relevant video segments from the indexed data and use ChatGPT to generate detailed responses.
Example Scenario
For example, an auto dealer sales representative wants to learn more about a new car model, Lux XS, to prepare for an upcoming sales event. The representative quickly accesses the Video Q&A internal portal and asks, “What are the engine specifications of the Lux XS model?” The response provides a list of training videos and the time stamps of relevant content. They can click on items in the list and view the exact spot in the video.
Want to explore Video Indexer and stay up to date on all releases? Here are some helpful resources:
Use Azure Video Indexer website to access the product website and get a free trial experience.
Visit Azure Video Indexer Developer Portal to learn about our APIs.
Search the Azure Video Indexer GitHub repository
Review the product documentation.
Get to know the recent features using Azure Video Indexer release notes.
Use Stack overflow community for technical questions.
To report an issue with Azure Video Indexer (paid account customers) Go to Azure portal Help + support. Create a new support request. Your request will be tracked within SLA.
Read our recent blogs in Azure Tech Community.
Microsoft Tech Community – Latest Blogs –Read More
Problem with matrix dimensions
Hello, my code is giving me the error :
Error using
Matrix dimensions must agree.
I don’t know why because the matrices I am trying to divide have the dimensions of 5×1 and 5×5
function F = sistema(X)
beta1 = 0.0000009;
beta2 = 0.00000093;
M = 1;
p = 0.1;
mu = 0.00001;
rho = 0.00002;
theta = 0.005;
omega = 0.05;
gamma = 0.001;
alpha1 = 0.0001;
alpha2 = 0.004;
S = X(1);
E = X(2);
I = X(3);
Q = X(4);
V = X(5);
F(1) = p*M – beta1*S*E – beta2*S*I – (rho + mu)*S;
F(2) = beta1*S*E + beta2*S*I – (omega + alpha1 + mu)*E;
F(3) = omega*E – (gamma + alpha2 + mu)*I;
F(4) = alpha1*E + alpha2*I – (theta + mu)*Q;
F(5) = (1 – p)*M + rho*S + gamma*I + theta*Q – mu*V;
end
function JF = jacobiano(X)
beta1 = 0.0000009;
beta2 = 0.00000093;
M = 1;
p = 0.1;
mu = 0.00001;
rho = 0.00002;
theta = 0.005;
omega = 0.05;
gamma = 0.001;
alpha1 = 0.0001;
alpha2 = 0.004;
S = X(1);
E = X(2);
I = X(3);
Q = X(4);
V = X(5);
JF = [-beta1*E – beta2*I – rho – mu, -beta1*S, -beta2*S, 0, 0;
beta1*E, beta1*S – (omega + alpha1 + mu), beta2*S, 0, 0;
0, omega, -(gamma + alpha2 + mu), 0, 0;
0, alpha1, alpha2, -(theta + mu), 0;
rho, 0, gamma, theta, -mu];
end
These are the codes of the two functions that qive the matrices
function [x, it, norma_diferenca] = metodo_newton2(F, JF, y0, e, nmax)
x = y0;
it = 0;
norma_diferenca = Inf;
while norma_diferenca > e && it < nmax
Fx = F(x);
JFx = JF(x);
div = JFx (-Fx);
x = x + div;
norma_diferenca = norm(div);
it = it + 1;
end
if it >= nmax
disp(‘Atingido o número máximo de iterações sem convergência.’);
end
end
And this is the code taht divide the two matrices.Hello, my code is giving me the error :
Error using
Matrix dimensions must agree.
I don’t know why because the matrices I am trying to divide have the dimensions of 5×1 and 5×5
function F = sistema(X)
beta1 = 0.0000009;
beta2 = 0.00000093;
M = 1;
p = 0.1;
mu = 0.00001;
rho = 0.00002;
theta = 0.005;
omega = 0.05;
gamma = 0.001;
alpha1 = 0.0001;
alpha2 = 0.004;
S = X(1);
E = X(2);
I = X(3);
Q = X(4);
V = X(5);
F(1) = p*M – beta1*S*E – beta2*S*I – (rho + mu)*S;
F(2) = beta1*S*E + beta2*S*I – (omega + alpha1 + mu)*E;
F(3) = omega*E – (gamma + alpha2 + mu)*I;
F(4) = alpha1*E + alpha2*I – (theta + mu)*Q;
F(5) = (1 – p)*M + rho*S + gamma*I + theta*Q – mu*V;
end
function JF = jacobiano(X)
beta1 = 0.0000009;
beta2 = 0.00000093;
M = 1;
p = 0.1;
mu = 0.00001;
rho = 0.00002;
theta = 0.005;
omega = 0.05;
gamma = 0.001;
alpha1 = 0.0001;
alpha2 = 0.004;
S = X(1);
E = X(2);
I = X(3);
Q = X(4);
V = X(5);
JF = [-beta1*E – beta2*I – rho – mu, -beta1*S, -beta2*S, 0, 0;
beta1*E, beta1*S – (omega + alpha1 + mu), beta2*S, 0, 0;
0, omega, -(gamma + alpha2 + mu), 0, 0;
0, alpha1, alpha2, -(theta + mu), 0;
rho, 0, gamma, theta, -mu];
end
These are the codes of the two functions that qive the matrices
function [x, it, norma_diferenca] = metodo_newton2(F, JF, y0, e, nmax)
x = y0;
it = 0;
norma_diferenca = Inf;
while norma_diferenca > e && it < nmax
Fx = F(x);
JFx = JF(x);
div = JFx (-Fx);
x = x + div;
norma_diferenca = norm(div);
it = it + 1;
end
if it >= nmax
disp(‘Atingido o número máximo de iterações sem convergência.’);
end
end
And this is the code taht divide the two matrices. Hello, my code is giving me the error :
Error using
Matrix dimensions must agree.
I don’t know why because the matrices I am trying to divide have the dimensions of 5×1 and 5×5
function F = sistema(X)
beta1 = 0.0000009;
beta2 = 0.00000093;
M = 1;
p = 0.1;
mu = 0.00001;
rho = 0.00002;
theta = 0.005;
omega = 0.05;
gamma = 0.001;
alpha1 = 0.0001;
alpha2 = 0.004;
S = X(1);
E = X(2);
I = X(3);
Q = X(4);
V = X(5);
F(1) = p*M – beta1*S*E – beta2*S*I – (rho + mu)*S;
F(2) = beta1*S*E + beta2*S*I – (omega + alpha1 + mu)*E;
F(3) = omega*E – (gamma + alpha2 + mu)*I;
F(4) = alpha1*E + alpha2*I – (theta + mu)*Q;
F(5) = (1 – p)*M + rho*S + gamma*I + theta*Q – mu*V;
end
function JF = jacobiano(X)
beta1 = 0.0000009;
beta2 = 0.00000093;
M = 1;
p = 0.1;
mu = 0.00001;
rho = 0.00002;
theta = 0.005;
omega = 0.05;
gamma = 0.001;
alpha1 = 0.0001;
alpha2 = 0.004;
S = X(1);
E = X(2);
I = X(3);
Q = X(4);
V = X(5);
JF = [-beta1*E – beta2*I – rho – mu, -beta1*S, -beta2*S, 0, 0;
beta1*E, beta1*S – (omega + alpha1 + mu), beta2*S, 0, 0;
0, omega, -(gamma + alpha2 + mu), 0, 0;
0, alpha1, alpha2, -(theta + mu), 0;
rho, 0, gamma, theta, -mu];
end
These are the codes of the two functions that qive the matrices
function [x, it, norma_diferenca] = metodo_newton2(F, JF, y0, e, nmax)
x = y0;
it = 0;
norma_diferenca = Inf;
while norma_diferenca > e && it < nmax
Fx = F(x);
JFx = JF(x);
div = JFx (-Fx);
x = x + div;
norma_diferenca = norm(div);
it = it + 1;
end
if it >= nmax
disp(‘Atingido o número máximo de iterações sem convergência.’);
end
end
And this is the code taht divide the two matrices. matlab, matrices, division MATLAB Answers — New Questions
How to save videos in a MATALB standalone application?
I am trying to build a standalone application using MATLAB App Designer. In that, I want to play videos according to the given instructions or keywords. Those videos are saved on my desktop. How should I proceed in building the standalone application so that to play these videos after installing the application on any other target desktop system (without having/saving the videos on the target system)?
Can anyone suggest some way out?
Feel free to comment if my query is not clearI am trying to build a standalone application using MATLAB App Designer. In that, I want to play videos according to the given instructions or keywords. Those videos are saved on my desktop. How should I proceed in building the standalone application so that to play these videos after installing the application on any other target desktop system (without having/saving the videos on the target system)?
Can anyone suggest some way out?
Feel free to comment if my query is not clear I am trying to build a standalone application using MATLAB App Designer. In that, I want to play videos according to the given instructions or keywords. Those videos are saved on my desktop. How should I proceed in building the standalone application so that to play these videos after installing the application on any other target desktop system (without having/saving the videos on the target system)?
Can anyone suggest some way out?
Feel free to comment if my query is not clear appdesigner, matlab, app designer, matlab gui MATLAB Answers — New Questions
On prem exchange SMIME configuraton
Hi Guys
Is there any document available On prem Exchange server 2019 CU 14 SMIME installation & configuration. I read Microsoft official portal but i didn’t understanding
Hi Guys Is there any document available On prem Exchange server 2019 CU 14 SMIME installation & configuration. I read Microsoft official portal but i didn’t understanding Read More
Insufficient rights using OData import in Excel
Hello
I am facing an issue in Excel when I try to import data using OData.
I get an error called “Insufficient rights”. The funny / weird thing about this error is that, it only shows up in Excel. When I try to insert the link into a browser I can see all the data with the same user. I have tried to clear permissions in Excel, reinstalled Excel, waited 24 hours for the cache to be cleared and I even cleared it myself. I still get the same error. Do you guys have any recommendations I could try? I have to say it’s only affected on my PC. I have tried it out on my colleagues PC and they have no issues. I of course want to use my on PC. Is there also some other places I have to clean the permissions / cache?
HelloI am facing an issue in Excel when I try to import data using OData.I get an error called “Insufficient rights”. The funny / weird thing about this error is that, it only shows up in Excel. When I try to insert the link into a browser I can see all the data with the same user. I have tried to clear permissions in Excel, reinstalled Excel, waited 24 hours for the cache to be cleared and I even cleared it myself. I still get the same error. Do you guys have any recommendations I could try? I have to say it’s only affected on my PC. I have tried it out on my colleagues PC and they have no issues. I of course want to use my on PC. Is there also some other places I have to clean the permissions / cache? Read More
Number to hours
Hi,
I’ve performed an operation on a column which gives me a number, and I’d like to transform this number into hours.
How do I do this?
I’ve used “cell format” but it doesn’t work.
Example: my total is 9, in another cell I divide this number by 2, which gives me 4.5 and I’d like this number to appear in hourly format: 4:50 so that I can then add up several cells.
Thank you
Hi, I’ve performed an operation on a column which gives me a number, and I’d like to transform this number into hours.How do I do this?I’ve used “cell format” but it doesn’t work.Example: my total is 9, in another cell I divide this number by 2, which gives me 4.5 and I’d like this number to appear in hourly format: 4:50 so that I can then add up several cells.Thank you Read More
SQL Server license per core vs Intel Speed Select Technology
Microsoft SQL Server is licenced by core. Some Intel processors have Speed Select Technology that enables for controling the number of cores that are actually used.
For example, Intel® Xeon® Gold 6548Y+ Processor wich has 32 cores can work with only 16 active cores. Does this affect licensing price? Can the setup be treated as a 16 core server?
Microsoft SQL Server is licenced by core. Some Intel processors have Speed Select Technology that enables for controling the number of cores that are actually used.For example, Intel® Xeon® Gold 6548Y+ Processor wich has 32 cores can work with only 16 active cores. Does this affect licensing price? Can the setup be treated as a 16 core server? Read More
SharePoint Can I prevent my content editors from editing Home Page?
My Content Editors can create news using this lovely menu. You can navigate there by going to HomePage>>New>>News
I would like to prevent my Content Editors from editing the Home Page, but allow them to keep creating news. I can remove their permissions from the Home Page by navigating to Site Pages>>Home Site>> Permissions.
However, if I do that, the option to create News disappears. The Content Editors still have Edit rights on the entire Site Pages library. They can still create pages by navigating to Site Pages library and clicking on New, then publish them as news on the site, but the nice lovely menu is nowhere to be found.
How can my Content Editors, who have Edit rights on Site Pages library but only view rights to Home Page, access the lovely menu?
(direct link? custom script?)
My Content Editors can create news using this lovely menu. You can navigate there by going to HomePage>>New>>NewsI would like to prevent my Content Editors from editing the Home Page, but allow them to keep creating news. I can remove their permissions from the Home Page by navigating to Site Pages>>Home Site>> Permissions.However, if I do that, the option to create News disappears. The Content Editors still have Edit rights on the entire Site Pages library. They can still create pages by navigating to Site Pages library and clicking on New, then publish them as news on the site, but the nice lovely menu is nowhere to be found.How can my Content Editors, who have Edit rights on Site Pages library but only view rights to Home Page, access the lovely menu?(direct link? custom script?) Read More
Labels (for zero valued cells) when set to show series name won’t dissappear.
Hi,
I’m trying to create a graph with labels that will appear only when there are non-zero values in the cells. When I tick label contains Value and I add in the cusotm number format #”” the label dissappears when the cell value is zero. If I tick Label contains “Series Name” then the label always appears. Is there a way, custom format etc. to have the same behavious as when I’m using the cell value in the label?
Thank you all,
Tassos.
PS: O365 on Win 11 Pro
Hi,I’m trying to create a graph with labels that will appear only when there are non-zero values in the cells. When I tick label contains Value and I add in the cusotm number format #”” the label dissappears when the cell value is zero. If I tick Label contains “Series Name” then the label always appears. Is there a way, custom format etc. to have the same behavious as when I’m using the cell value in the label? Thank you all,Tassos. PS: O365 on Win 11 Pro Read More
AVD preferred app gourp type
As far as I know, the “Preferred App group type” option is new within the AVD host pool. However, when I enter Remote Apps there, my Remote Desktop is no longer shown and vice versa. Does anyone recognize this?
We have an environment where both variants are used
As far as I know, the “Preferred App group type” option is new within the AVD host pool. However, when I enter Remote Apps there, my Remote Desktop is no longer shown and vice versa. Does anyone recognize this?We have an environment where both variants are used Read More
Hyper-V on server 26227.5000 with VM on Hyper-V – VM only starts when disabling secure boot
Hi everyone,
installed server 26227.500o on Hardware dl360 gen9 – as a test-system – runs smoothly.
But a VM freshly installed crashes immediately after reboot.
All tested with/without tpm, only with disabled secure boot vms is running and booting properly.
Any tipps / thoughts
Hi everyone, installed server 26227.500o on Hardware dl360 gen9 – as a test-system – runs smoothly. But a VM freshly installed crashes immediately after reboot. All tested with/without tpm, only with disabled secure boot vms is running and booting properly. Any tipps / thoughts Read More
Calculating Surface Curvature from Image Data
Hello,
I’m trying to calculate the curvature of each surface point from a morphology picture. However, when using surfature(), I do not get the results I want. A lot of points have a gaussian curvature of 0, which is not plausible for the example I use.
I tried a lot of different methods for calculating and ploting, but never got a good result…
I wrote the following:
% reading in picture
data = imread("Morphology.PNG");
% if not yet, convert to gray image
if size(data, 3) == 3
data = rgb2gray(data);
end
% smoothing image
data = imgaussfilt(data, 4);
% converting to double
data = double(data);
z = data;
% generating 2D arrays for X and Y with size of data-dimensions
[Rows, Cols] = size(data);
[x, y] = meshgrid(1:Cols, 1:Rows);
% calculating gaussian and normal curvature
[K, H] = surfature(x, y, data);
% display surface
figure;
surf(x, y, z, "EdgeColor","none");
title(‘Surface Morphology’);
colorbar;
% ploting the results
figure;
surf(x, y, z, K, "EdgeColor","none");
title(‘3D Surface Gaussian Curvature Map’);
colorbar;
disp(K);Hello,
I’m trying to calculate the curvature of each surface point from a morphology picture. However, when using surfature(), I do not get the results I want. A lot of points have a gaussian curvature of 0, which is not plausible for the example I use.
I tried a lot of different methods for calculating and ploting, but never got a good result…
I wrote the following:
% reading in picture
data = imread("Morphology.PNG");
% if not yet, convert to gray image
if size(data, 3) == 3
data = rgb2gray(data);
end
% smoothing image
data = imgaussfilt(data, 4);
% converting to double
data = double(data);
z = data;
% generating 2D arrays for X and Y with size of data-dimensions
[Rows, Cols] = size(data);
[x, y] = meshgrid(1:Cols, 1:Rows);
% calculating gaussian and normal curvature
[K, H] = surfature(x, y, data);
% display surface
figure;
surf(x, y, z, "EdgeColor","none");
title(‘Surface Morphology’);
colorbar;
% ploting the results
figure;
surf(x, y, z, K, "EdgeColor","none");
title(‘3D Surface Gaussian Curvature Map’);
colorbar;
disp(K); Hello,
I’m trying to calculate the curvature of each surface point from a morphology picture. However, when using surfature(), I do not get the results I want. A lot of points have a gaussian curvature of 0, which is not plausible for the example I use.
I tried a lot of different methods for calculating and ploting, but never got a good result…
I wrote the following:
% reading in picture
data = imread("Morphology.PNG");
% if not yet, convert to gray image
if size(data, 3) == 3
data = rgb2gray(data);
end
% smoothing image
data = imgaussfilt(data, 4);
% converting to double
data = double(data);
z = data;
% generating 2D arrays for X and Y with size of data-dimensions
[Rows, Cols] = size(data);
[x, y] = meshgrid(1:Cols, 1:Rows);
% calculating gaussian and normal curvature
[K, H] = surfature(x, y, data);
% display surface
figure;
surf(x, y, z, "EdgeColor","none");
title(‘Surface Morphology’);
colorbar;
% ploting the results
figure;
surf(x, y, z, K, "EdgeColor","none");
title(‘3D Surface Gaussian Curvature Map’);
colorbar;
disp(K); surfature, surface, curvature, image processing MATLAB Answers — New Questions
“Application install was not successful” when trying to install Matlab app
When trying to install an app (compiled app designer app) I’m receiving ""Application install was not successful".
I have tested:
Several different installers/apps (all have previously worked and works on other systems)
Uninstalled and reinstalled both Matlab and Matlab runtime
Cleared the Matlab folders in AppData Local and Roaming
Rebooted my system
Verified that there are no remaining files in the installation directory from previous installs.
Booting the .exe installer from various locations
After booting the installer .exe I get to the Windows User Account Control. After accepting, the matlab installer window flashes up shortly before presenting the below message.
Any suggestions on how to proceed?When trying to install an app (compiled app designer app) I’m receiving ""Application install was not successful".
I have tested:
Several different installers/apps (all have previously worked and works on other systems)
Uninstalled and reinstalled both Matlab and Matlab runtime
Cleared the Matlab folders in AppData Local and Roaming
Rebooted my system
Verified that there are no remaining files in the installation directory from previous installs.
Booting the .exe installer from various locations
After booting the installer .exe I get to the Windows User Account Control. After accepting, the matlab installer window flashes up shortly before presenting the below message.
Any suggestions on how to proceed? When trying to install an app (compiled app designer app) I’m receiving ""Application install was not successful".
I have tested:
Several different installers/apps (all have previously worked and works on other systems)
Uninstalled and reinstalled both Matlab and Matlab runtime
Cleared the Matlab folders in AppData Local and Roaming
Rebooted my system
Verified that there are no remaining files in the installation directory from previous installs.
Booting the .exe installer from various locations
After booting the installer .exe I get to the Windows User Account Control. After accepting, the matlab installer window flashes up shortly before presenting the below message.
Any suggestions on how to proceed? matlab app installer, installer, matlab application, application install was not successful MATLAB Answers — New Questions
How can I connect matlab with MAXM86146?
I would analyze the data of MAXM86146I would analyze the data of MAXM86146 I would analyze the data of MAXM86146 sofware, maxm86146 MATLAB Answers — New Questions
How to integrate system GPU with MATLAB?
Hi,
Aatually, I am working on deep learning project. I am train a custom model with different pretrained model. While I am training it take too much time to train a model. So, I go throught with gpu but I saw it’s support on nvidia gpu. And I have 8GB intel GPU on my system but I am uable to integrate with MATLAB. Could you please help to integrate GPU with MATLAB.Hi,
Aatually, I am working on deep learning project. I am train a custom model with different pretrained model. While I am training it take too much time to train a model. So, I go throught with gpu but I saw it’s support on nvidia gpu. And I have 8GB intel GPU on my system but I am uable to integrate with MATLAB. Could you please help to integrate GPU with MATLAB. Hi,
Aatually, I am working on deep learning project. I am train a custom model with different pretrained model. While I am training it take too much time to train a model. So, I go throught with gpu but I saw it’s support on nvidia gpu. And I have 8GB intel GPU on my system but I am uable to integrate with MATLAB. Could you please help to integrate GPU with MATLAB. image processing, deep learning, gpu, intel MATLAB Answers — New Questions