Category: News
Formula Required
Hi All,
I need a formula for the following see attached Sheet.
Brief
Starting at 50klm distance the base rate is $1.50
Every 50klm more I want the rate to increase $0.25
I have it set up so when you enter the Distance (KLM) (sourced via Google Search)
The Quantity needs to rounds up to the next whole number according to Distance(KLM) entered
The rate increase needs to corresponds with Quantity total.
Any help would be appreciated. Thank you
Hi All, I need a formula for the following see attached Sheet. BriefStarting at 50klm distance the base rate is $1.50Every 50klm more I want the rate to increase $0.25 I have it set up so when you enter the Distance (KLM) (sourced via Google Search) The Quantity needs to rounds up to the next whole number according to Distance(KLM) enteredThe rate increase needs to corresponds with Quantity total. Any help would be appreciated. Thank you Read More
Formula for COUNTIFS combined with OR (I think)
Hello,
Please can someone help me with a formula for the following:
Column E is labelled “Priority” with drop down options of “High”, “Medium” or “Low” from a lookup table.
Column I is labelled “Status” with drop down options of “Complete”, “In Progress” or “Not Started” from a look up table.
I want to count in cell I2, how many priorities in column E are “high” AND column I has the status “In Progress” OR “Not Started” [i.e. a status that is not “Complete”].
I have created a COUNTIFS formula but cannot seem to apply a second criteria that excludes from the count any with the status “Complete”: =(COUNTIFS($E7:E13,”High”))
I can then adjust the same formula for “Medium” and “Low” priorities for cells I3 and I4 respectively.
Hello, Please can someone help me with a formula for the following: Column E is labelled “Priority” with drop down options of “High”, “Medium” or “Low” from a lookup table.Column I is labelled “Status” with drop down options of “Complete”, “In Progress” or “Not Started” from a look up table. I want to count in cell I2, how many priorities in column E are “high” AND column I has the status “In Progress” OR “Not Started” [i.e. a status that is not “Complete”]. I have created a COUNTIFS formula but cannot seem to apply a second criteria that excludes from the count any with the status “Complete”: =(COUNTIFS($E7:E13,”High”)) I can then adjust the same formula for “Medium” and “Low” priorities for cells I3 and I4 respectively. Read More
change background when using dropdown list
When picking items from a dropdown list that contains employees who have different color backgrounds based on their dept, I want the background for that item in the table to appear on my spreadsheet once I pick them for my sheet.
When picking items from a dropdown list that contains employees who have different color backgrounds based on their dept, I want the background for that item in the table to appear on my spreadsheet once I pick them for my sheet. Read More
Web Filtering / Monitoring for Android Devices
Hello all,
Does Intune offer a solution to filter and monitor web access on Android devices?
Basically block them from accessing naughty sites.
These are Corporate fully managed/KIOSK devices etc with MS edge loaded.
Don’t want to go down the white/allowed list route if possible as they used for multiple scenarios.
I am looking at the MS Defender app but unsure if It can do the job and how to set it up.
We have a solution for our Windows devices but isn’t compatible with Android.
Any help or suggestions welcome.
Hello all, Does Intune offer a solution to filter and monitor web access on Android devices? Basically block them from accessing naughty sites. These are Corporate fully managed/KIOSK devices etc with MS edge loaded. Don’t want to go down the white/allowed list route if possible as they used for multiple scenarios. I am looking at the MS Defender app but unsure if It can do the job and how to set it up. We have a solution for our Windows devices but isn’t compatible with Android. Any help or suggestions welcome. Read More
Store images in Kusto and visualize them with Power BI or Azure Data Explorer Dashboards
How to Visualize Images Stored in Kusto
Kusto is a fast and scalable database designed to ingest, store, and analyze large volumes of structured and semi-structured data. For non-structured data like images, Azure Storage is typically the best choice. Databases can reference image data on storage via a URL, meaning images are not directly stored in Kusto. However, there are scenarios where storing image data in Kusto is beneficial. However, there are scenarios where storing image data in Kusto is beneficial. In this blog post, we will explore when it makes sense to store images in Kusto, how to store them, and how to visualize this data using Azure Data Explorer dashboards or Power BI.
Although Kusto doesn’t support binary data types, there are still compelling reasons to store images in Azure Data Explorer. For dashboards and reports that require images, visualization tools might not support secure access to external storage. By leveraging identities and network segregation via managed private endpoints, storing all data in one location simplifies both access and security. However, it’s important to note that Kusto the best technology for storing large-scale images.
Kusto does not support binary data types, so images must be encoded in base64. This encoding converts the data into a non-human-readable string of 64 English characters. When storing an image in Kusto using base64, it is saved as a string.The default size limit for a string in Kusto is 1 MB (see Kusto Documentation for string datatype. By default, all columns in Kusto are indexed. For columns storing images, you should disable indexing and may need to increase the default size limit. Below is an example of creating an image table, disabling indexing, and increasing the string size limit to 2 MB using the the BigObject encoding type:
.create table image (file_name:string, img_original_base64 : string )
// This policy disables the index of the image column and overrides MaxValueSize property in the encoding Policy to 2 MB:
.alter column image.img_original_base64 policy encoding type=’BigObject’
The maximum size for a string in Kusto is 32 MB. For more details, refer to the documentation on the encoding policy.
You can use all available ingestion methods for the Kusto database, depending on the deployment (PaaS or SaaS). Ensure that the image data is converted to a binary string and encoded to base64, as described in the previous section. You can find a Python example in the Gist references at the end of this article.
Once you’ve ingested image data into a Kusto table, you might want to visualize it using Azure Data Explorer Dashboards. Markdown visuals are an effective way to display images. Typically, images are displayed from a storage location using the following markdown pattern:
For images stored in Kusto, the process is similar. Instead of linking to a storage location, you use the field containing the base64-encoded string of the image. Here’s how you can do it:
This method embeds the image directly into the dashboard using the base64-encoded string from your data. If you have multiple images to display you can make use of a function generating a markdown from a Kusto query. The function logic has been shared on stackoverflow by Daniel Dror:
let schema = t | getschema;
let headers = schema | project ColumnName | summarize make_list(ColumnName) | extend String = strcat(‘| ‘, strcat_array(list_ColumnName, ‘ | ‘), ‘ |’) | project String, Order=1;
let upper_divider = schema | project ColumnName, Sep = ‘—‘ | summarize Cols=make_list(Sep) | extend String = strcat(‘| ‘, strcat_array(Cols, ‘ | ‘), ‘ |’) | project String, Order=2;
let data = t | extend Cols=pack_array(*) | extend String = strcat(‘| ‘, strcat_array(Cols, ‘ | ‘), ‘ |’) | project String, Order=3;
headers
| union upper_divider
| union data
| order by Order asc
| summarize Rows=make_list(String)
| project array_strcat(Rows, ‘rn’)
}
With invoking this function, you can easily display a table of images in Azure Data Explorer dashboards. The following query is used in combination with a markdown visual:
| project file_name, img_original_base64
| extend ingestion_time=ingestion_time()
| summarize arg_max(ingestion_time, *) by file_name// remove duplicates
| extend image=strcat(“![image](data:image/png;base64,”, img_original_base64, “)” )
| project file_name, image
| order by file_name desc
| invoke table_to_markdown()
This is an example how your data can be visualized using the markdown visualization:
Power BI allows the integration of images from a database, a process that is well-documented in a Guy in a Cube YouTube video, which is referenced at the end of this article. By default, Power BI supports image URLs, but what if you want to display images stored as strings? Given Power BI’s limitation of a 32k string size, a creative workaround is necessary. This involves splitting the strings and then reconstructing them using DAX logic, a technique thoroughly explained in the aforementioned Guy in a Cube video.
To handle large image strings that exceed Power BI’s capacity, a split string function in Kusto can be employed. This function divides the image string representation into multiple rows, which is essential for visualization tools that have string size restrictions. Here’s how the function looks
//this is needed for visualization tools with limitation on string sizes
.create-or-alter function with (folder = “Gold layer”, docstring=”split image string representation to several rows if PowerBI string size limitation is hit”, skipvalidation = “true”) image_report ()
{
let max_length=32766; //maximum PowerBI string length
image
| project file_name, img_original_base64
| extend ingestion_time=ingestion_time()
| summarize arg_max(ingestion_time, *) by file_name // remove duplicates
| extend parts = range(0, strlen(img_original_base64) – 1, max_length)
| mv-expand parts // rows needed for each substring (1 if length < max_length)
| extend img_original_base64_part = substring(img_original_base64, toint(parts), max_length), order=toint(parts)/max_length
| project file_name, img_original_base64_part, order
}
Following the split, DAX logic is used to concatenate the substrings back into the final image:
This approach ensures that even with Power BI’s string size limitations, images can be effectively displayed by leveraging Kusto’s split string function and DAX’s concatenation capabilities.
The integration of images into Kusto and their visualization through Power BI or Azure Data Explorer Dashboards offers a unique approach to managing and displaying non-structured data. While Kusto is primarily designed for structured and semi-structured data, it can accommodate images through base64 encoding, albeit with some limitations due to the absence of binary data types. This method is particularly useful for dashboards and reports that require secure access to images without relying on external storage solutions.
The process involves encoding images into a base64 string, ingesting them into Kusto, and then utilizing visualization tools like Power BI to display the images. This approach ensures that all data, including images, can be securely accessed and managed in one centralized location, simplifying both access and security protocols.
However, it’s crucial to recognize that Kusto is not optimized for storing large-scale images, and this method should be reserved for scenarios where the benefits outweigh the limitations. By following the guidelines and techniques outlined in this blog post, users can effectively store and visualize images within Kusto, enhancing their data analysis and reporting capabilities in a secure and efficient manner.
Column encoding policy
Generate a markdown from a kusto query result, stackoverflow
Power BI Display images in a table, matrix, or slicer in a report
Using Images from a Data Base in Power BI, You Tube
Gist with code examples
Microsoft Tech Community – Latest Blogs –Read More
Networking improvements in Windows Server 2025
Windows Server 2025 is the most secure and performant release yet! Download the evaluation now!
Looking to migrate from VMware to Windows Server 2025? Contact your Microsoft account team!
Looking to migrate from VMware to Windows Server 2025? Contact your Microsoft account team!
The 2024 Windows Server Summit was held in March and brought three days of demos, technical sessions, and Q&A, led by Microsoft engineers, guest experts from Intel®, and our MVP community. For more videos from this year’s Windows Server Summit, please find the full session list here.
This article focuses on networking improvements in Windows Server 2025.
Host networking at the edge
It’s time for a closer look at what’s new and exciting in networking for Windows Server! Explore Network ATC, which simplifies deployment and network configuration management for Azure Stack HCI clusters. Get to know Network HUD and how it can perform real-time analysis of network issues and provides prescriptive alerts or auto-remediation of the issue when possible. Learn how to greatly improve networking performance with Accelerated Networking.
Software Defined Networking
Take a whirlwind tour of the most requested and exciting new core features for Software Defined Networking (SDN) in this jam-packed session of demos! We’ll share advancements in network security and Azure Kubernetes Service (AKS) integrations! If that isn’t enough, we’ll share great resources to help you learn and advance your skills fast. This is a session you won’t want to miss!
Microsoft Tech Community – Latest Blogs –Read More
Why do I get “Maximum variable size allowed on the device is exceeded.” error when running the “semanticseg” function on my image and custom network?
I am trying to run the "semanticseg" function on an image with size (8557×11377) and my own custom network, and I receive the error:
ERROR: Error using nnet.internal.cnngpu.convolveForward2D
Maximum variable size allowed on the device is exceeded.
I expect MATLAB to tile the image, run the semantic segmentation, and reassemble the tile, but I am receiving this error on a windows laptop with a GTX 1070 card.
The two questions I have are:
1) Why do I receive this error message?
2) I would like to know what the maximum allowed image size I can have with my own custom network when running the "semanticseg" function.I am trying to run the "semanticseg" function on an image with size (8557×11377) and my own custom network, and I receive the error:
ERROR: Error using nnet.internal.cnngpu.convolveForward2D
Maximum variable size allowed on the device is exceeded.
I expect MATLAB to tile the image, run the semantic segmentation, and reassemble the tile, but I am receiving this error on a windows laptop with a GTX 1070 card.
The two questions I have are:
1) Why do I receive this error message?
2) I would like to know what the maximum allowed image size I can have with my own custom network when running the "semanticseg" function. I am trying to run the "semanticseg" function on an image with size (8557×11377) and my own custom network, and I receive the error:
ERROR: Error using nnet.internal.cnngpu.convolveForward2D
Maximum variable size allowed on the device is exceeded.
I expect MATLAB to tile the image, run the semantic segmentation, and reassemble the tile, but I am receiving this error on a windows laptop with a GTX 1070 card.
The two questions I have are:
1) Why do I receive this error message?
2) I would like to know what the maximum allowed image size I can have with my own custom network when running the "semanticseg" function. convolveforward2d, semanticseg MATLAB Answers — New Questions
ANSYS Fluent and Simulink co-simulation in real time.
Hello,
I want to test a temperature and air flow pattern in a room in ANSYS Fluent but the same time i want a co-simulation with Simulink so that i can modify parameters in Simulink and observe the variation in Fluent. How to do that….??
thanxHello,
I want to test a temperature and air flow pattern in a room in ANSYS Fluent but the same time i want a co-simulation with Simulink so that i can modify parameters in Simulink and observe the variation in Fluent. How to do that….??
thanx Hello,
I want to test a temperature and air flow pattern in a room in ANSYS Fluent but the same time i want a co-simulation with Simulink so that i can modify parameters in Simulink and observe the variation in Fluent. How to do that….??
thanx ansys fluent and simulink co-simulation in real ti MATLAB Answers — New Questions
how to make the numbers on the matrix with alternative sign?
I want to create a matrix that the main diagonal of K are alternatively 2 and -2’s, the sub- and sup-diagonal of K alternatively
1 and -1’s, and everywhere else 0. The size of K is 2n by 2n.
Here is what I got so far.
x=ones(1,5);
y=ones(1,4);
x2=2*x;
y2=y*-1;
z=diag(x2,0)
[rows, columns] = size(z)
z(1:2*rows+2:end) = -z(1:2*rows+2:end)
b=diag(y2,+1)
d=diag(y2,-1)
g=z+b+dI want to create a matrix that the main diagonal of K are alternatively 2 and -2’s, the sub- and sup-diagonal of K alternatively
1 and -1’s, and everywhere else 0. The size of K is 2n by 2n.
Here is what I got so far.
x=ones(1,5);
y=ones(1,4);
x2=2*x;
y2=y*-1;
z=diag(x2,0)
[rows, columns] = size(z)
z(1:2*rows+2:end) = -z(1:2*rows+2:end)
b=diag(y2,+1)
d=diag(y2,-1)
g=z+b+d I want to create a matrix that the main diagonal of K are alternatively 2 and -2’s, the sub- and sup-diagonal of K alternatively
1 and -1’s, and everywhere else 0. The size of K is 2n by 2n.
Here is what I got so far.
x=ones(1,5);
y=ones(1,4);
x2=2*x;
y2=y*-1;
z=diag(x2,0)
[rows, columns] = size(z)
z(1:2*rows+2:end) = -z(1:2*rows+2:end)
b=diag(y2,+1)
d=diag(y2,-1)
g=z+b+d matrix manipulation MATLAB Answers — New Questions
what toolbox functions can i use for shape and object recognition
Hi, i have a question about an assignment i have to do. In a assigment i need to do 3 things:
I take a picture of a IC integrated circuit on a black piece of paper. Then i imread it into my program.
1 – Count the amount of pins on a IC (integrated circuit) – DONE with thresholding a bw image + dilation + labeling and regionprops. That is can sort of do.
2 – The program needs to recognize if its NOT a picture of a IC (integrated circuit).
I know is asked but i dont know what toolbox function would me suited.
I guess some toolbox function do shape / object recognition? but i cant determin what is best.
3 – The program need to check if all the pins are connected to the body of the ic.
IC’s always have a even number of pins so that shall be a if else construction.
I especially need help with 2.
code can be providedHi, i have a question about an assignment i have to do. In a assigment i need to do 3 things:
I take a picture of a IC integrated circuit on a black piece of paper. Then i imread it into my program.
1 – Count the amount of pins on a IC (integrated circuit) – DONE with thresholding a bw image + dilation + labeling and regionprops. That is can sort of do.
2 – The program needs to recognize if its NOT a picture of a IC (integrated circuit).
I know is asked but i dont know what toolbox function would me suited.
I guess some toolbox function do shape / object recognition? but i cant determin what is best.
3 – The program need to check if all the pins are connected to the body of the ic.
IC’s always have a even number of pins so that shall be a if else construction.
I especially need help with 2.
code can be provided Hi, i have a question about an assignment i have to do. In a assigment i need to do 3 things:
I take a picture of a IC integrated circuit on a black piece of paper. Then i imread it into my program.
1 – Count the amount of pins on a IC (integrated circuit) – DONE with thresholding a bw image + dilation + labeling and regionprops. That is can sort of do.
2 – The program needs to recognize if its NOT a picture of a IC (integrated circuit).
I know is asked but i dont know what toolbox function would me suited.
I guess some toolbox function do shape / object recognition? but i cant determin what is best.
3 – The program need to check if all the pins are connected to the body of the ic.
IC’s always have a even number of pins so that shall be a if else construction.
I especially need help with 2.
code can be provided image processing, shape recognition, object recognition, integrated cicuit MATLAB Answers — New Questions
Global Microsoft Teams IP localisation issue
Hello,
We are a Belgian ITSP. When our customer use Microsoft Teams their IP gets located in HongKong instead of Belgium, so their account gets blocked. As far as we understand Microsoft is using Maxmind to geolocalise users.
This is the contecnt of Maxmind database:
P Address Location Network Postal Code Approximate Latitude / Longitude*, and Accuracy Radius ISP / Organization Domain Connection Type
93.92.17.167Rumst, Flanders, Belgium (BE), Europe93.92.17.0/24284051.0786, 4.415 (20 km)Localitel bvba-Cable/DSL
Still users get located in HongKong in this example subnet. Or explain how Microsoft Teams works for localisting IP adresses of Teams users.
Plz advice who we need to contact at Microsoft to get this solved. It is clearly an issue on your end and because of this our internet customer cannot use Teams in Belgium.
Thanks.
Gr,
Kenneth Van Velthoven.
Hello,We are a Belgian ITSP. When our customer use Microsoft Teams their IP gets located in HongKong instead of Belgium, so their account gets blocked. As far as we understand Microsoft is using Maxmind to geolocalise users. This is the contecnt of Maxmind database:P Address Location Network Postal Code Approximate Latitude / Longitude*, and Accuracy Radius ISP / Organization Domain Connection Type93.92.17.167Rumst, Flanders, Belgium (BE), Europe93.92.17.0/24284051.0786, 4.415 (20 km)Localitel bvba-Cable/DSLStill users get located in HongKong in this example subnet. Or explain how Microsoft Teams works for localisting IP adresses of Teams users.Plz advice who we need to contact at Microsoft to get this solved. It is clearly an issue on your end and because of this our internet customer cannot use Teams in Belgium.Thanks.Gr,Kenneth Van Velthoven. Read More
Trouble sorting numbered folders
Hello all, hoping someone can solve my (very) minor problem.
I have a list of folders I need to sort numerically. The numbers are 2.1.0 – 2.2.13 and cannot be changed at all (so no 2.1.01 as it’s referred to as 2.1.1 in numerous other documents).
I can’t use a number column as only numerals are allowed. I can’t use a text column as it puts eg 2.1.3 after 2.1.13.
What is a fairly straightforward solution to this? We use Sharepoint Online pretty much how it comes. Most of the users are not especially tech savvy; the solution can’t involve coding. I know there’s a symbol section when you edit a number column, but you can only put them at as the first or last digit, not in the middle.
Any help much appreciated
Hello all, hoping someone can solve my (very) minor problem. I have a list of folders I need to sort numerically. The numbers are 2.1.0 – 2.2.13 and cannot be changed at all (so no 2.1.01 as it’s referred to as 2.1.1 in numerous other documents). I can’t use a number column as only numerals are allowed. I can’t use a text column as it puts eg 2.1.3 after 2.1.13. What is a fairly straightforward solution to this? We use Sharepoint Online pretty much how it comes. Most of the users are not especially tech savvy; the solution can’t involve coding. I know there’s a symbol section when you edit a number column, but you can only put them at as the first or last digit, not in the middle. Any help much appreciated Read More
Microsoft Partner: Employment Verification Rejection
I have been subscribing to the Microsoft Action Pack for almost a quarter of a century. I recently renewed the Action Pack: the payment went through, and the Action Pack is marked as active.
The primary reason I need the Action Pack is for the “Visual Studio Professional Subscription.” To use it, I need to assign it to a user – this is where my ordeal began.
When trying to assign a user, I receive a vague error message indicating that something went wrong. As a result, I cannot use the most important product for me from the Action Pack.
Now, under “Account settings” in the “Legal info” section, I see that the “Verification status” is rejected – both under “Partner” and “Reseller.”
I have submitted all possible documents, but this has not resolved the issue. I have opened three support tickets so far, but I’ve received no assistance beyond automated responses. Emails to support with the ticket numbers are acknowledged but remain unanswered.
As of today, I can no longer upload documents. When I click “Fix now,” I’m caught in an endless loop: the status briefly shows “Verified” only to revert back to “Rejected.”
What else can I do to restore my partner status and make the Action Pack usable again? Who compensates me for the loss of income? I certainly didn’t pay for a non-functional Action Pack.
Sorry! I’m totally frustrated!
Thanks and regards,
René
I have been subscribing to the Microsoft Action Pack for almost a quarter of a century. I recently renewed the Action Pack: the payment went through, and the Action Pack is marked as active.The primary reason I need the Action Pack is for the “Visual Studio Professional Subscription.” To use it, I need to assign it to a user – this is where my ordeal began.When trying to assign a user, I receive a vague error message indicating that something went wrong. As a result, I cannot use the most important product for me from the Action Pack.Now, under “Account settings” in the “Legal info” section, I see that the “Verification status” is rejected – both under “Partner” and “Reseller.”I have submitted all possible documents, but this has not resolved the issue. I have opened three support tickets so far, but I’ve received no assistance beyond automated responses. Emails to support with the ticket numbers are acknowledged but remain unanswered.As of today, I can no longer upload documents. When I click “Fix now,” I’m caught in an endless loop: the status briefly shows “Verified” only to revert back to “Rejected.”What else can I do to restore my partner status and make the Action Pack usable again? Who compensates me for the loss of income? I certainly didn’t pay for a non-functional Action Pack.Sorry! I’m totally frustrated!Thanks and regards,René Read More
External Identities for AVD
External identities are not currently supported by AVD. Does anyone know if this functionality is on the AVD roadmap?
It would be very useful to know if this is coming in the future, as it would help to shape our internal development plans.
Thanks.
External identities are not currently supported by AVD. Does anyone know if this functionality is on the AVD roadmap? It would be very useful to know if this is coming in the future, as it would help to shape our internal development plans. Thanks. Read More
Formula Inconsistency
I am getting an error with a formula being inconsistent. I have double checked the formula with any and all formulas and there are no inconsistencies. I have verified my formula through the precedents and format of my cells and they are correct. Has anyone experienced this?
I am getting an error with a formula being inconsistent. I have double checked the formula with any and all formulas and there are no inconsistencies. I have verified my formula through the precedents and format of my cells and they are correct. Has anyone experienced this? Read More
Web Content Filtering is blocking ajax.googleapis.com which hosts jQuery etc
We have a pretty standard Web Content Filter Policy set up, but today it’s started blocking the ajax.googleapis.com domain which hosts jQuery and a bunch of other JavaScript libraries.
Here’s the block messages:
In the Defender logs we see the block also
Seems like a pretty obvious false positive.
We have a pretty standard Web Content Filter Policy set up, but today it’s started blocking the ajax.googleapis.com domain which hosts jQuery and a bunch of other JavaScript libraries. Here’s the block messages: In the Defender logs we see the block also Seems like a pretty obvious false positive. Read More
Dealing with .NET arrays and MarshalByRefObjects
I’m using an API from an Audio Precision to detect the available channels from an ASIO device. The API outputs a .NET array of type IChannelInfo[] that I can’t seem to get information from. If I create the array as chanInfo and try to access the first object either with chanInfo(1) or chanInfo.GetValue(1) or any other number of Methods, it just returns a "MarshalByRefObject" with no properties that I can’t figure out how to actually use. I would expect it to either just return a string like "Analog 2 (1)" or to return another .NET object that includes the name, channel number, etc.I’m using an API from an Audio Precision to detect the available channels from an ASIO device. The API outputs a .NET array of type IChannelInfo[] that I can’t seem to get information from. If I create the array as chanInfo and try to access the first object either with chanInfo(1) or chanInfo.GetValue(1) or any other number of Methods, it just returns a "MarshalByRefObject" with no properties that I can’t figure out how to actually use. I would expect it to either just return a string like "Analog 2 (1)" or to return another .NET object that includes the name, channel number, etc. I’m using an API from an Audio Precision to detect the available channels from an ASIO device. The API outputs a .NET array of type IChannelInfo[] that I can’t seem to get information from. If I create the array as chanInfo and try to access the first object either with chanInfo(1) or chanInfo.GetValue(1) or any other number of Methods, it just returns a "MarshalByRefObject" with no properties that I can’t figure out how to actually use. I would expect it to either just return a string like "Analog 2 (1)" or to return another .NET object that includes the name, channel number, etc. .net, system MATLAB Answers — New Questions
Simscape Multibody Link in Online Matlab platform
Hello, I’m using the online MATLAB interface with a school license, and I’d like to utilize Simscape Multibody Link to upload a Solidworks file and simulate the model. How can I achieve this on the online platform? I tried installing the latest Linux (glnxa64) version, but it didn’t work. Thank you in advance for your assistance!Hello, I’m using the online MATLAB interface with a school license, and I’d like to utilize Simscape Multibody Link to upload a Solidworks file and simulate the model. How can I achieve this on the online platform? I tried installing the latest Linux (glnxa64) version, but it didn’t work. Thank you in advance for your assistance! Hello, I’m using the online MATLAB interface with a school license, and I’d like to utilize Simscape Multibody Link to upload a Solidworks file and simulate the model. How can I achieve this on the online platform? I tried installing the latest Linux (glnxa64) version, but it didn’t work. Thank you in advance for your assistance! simscape MATLAB Answers — New Questions
How to give one x and y axis label when using tiled layout(‘flow’)?
I am using tiled layout(‘flow’) to plot a series of 20 plots on one figure. I want to have just one x and one y label for the entire figure, but when I try using the following code I get a figure that plots every subplot over each other.
figure()
t=tiledlayout(‘flow’);
autoCorr = zeros(ceil(length(dataSource)),N);
lag = zeros(ceil(length(dataSource)),N);
for ii=1:N
[autoCorr(:,ii),lag(:,ii)] = autocorrelation(dataSource(:,ii));
nexttile(t)
plot(lag(:,ii),autoCorr(:,ii))
end
title(t,’title’)
xlabel(t,’xlabel’)
ylabel(t,’ylabel’)
When I use this code the plot works fine but I’m not sure how to add the x and y axis labels.
autoCorr = zeros(ceil(length(dataSource)),N);
lag = zeros(ceil(length(dataSource)),N);
figure()
tiledlayout(‘flow’)
for ii=1:N
[autoCorr(:,ii),lag(:,ii)] = autocorrelation(dataSource(:,ii));
nexttile
plot(lag(:,ii),autoCorr(:,ii))
% xlim([100,fmax])
endI am using tiled layout(‘flow’) to plot a series of 20 plots on one figure. I want to have just one x and one y label for the entire figure, but when I try using the following code I get a figure that plots every subplot over each other.
figure()
t=tiledlayout(‘flow’);
autoCorr = zeros(ceil(length(dataSource)),N);
lag = zeros(ceil(length(dataSource)),N);
for ii=1:N
[autoCorr(:,ii),lag(:,ii)] = autocorrelation(dataSource(:,ii));
nexttile(t)
plot(lag(:,ii),autoCorr(:,ii))
end
title(t,’title’)
xlabel(t,’xlabel’)
ylabel(t,’ylabel’)
When I use this code the plot works fine but I’m not sure how to add the x and y axis labels.
autoCorr = zeros(ceil(length(dataSource)),N);
lag = zeros(ceil(length(dataSource)),N);
figure()
tiledlayout(‘flow’)
for ii=1:N
[autoCorr(:,ii),lag(:,ii)] = autocorrelation(dataSource(:,ii));
nexttile
plot(lag(:,ii),autoCorr(:,ii))
% xlim([100,fmax])
end I am using tiled layout(‘flow’) to plot a series of 20 plots on one figure. I want to have just one x and one y label for the entire figure, but when I try using the following code I get a figure that plots every subplot over each other.
figure()
t=tiledlayout(‘flow’);
autoCorr = zeros(ceil(length(dataSource)),N);
lag = zeros(ceil(length(dataSource)),N);
for ii=1:N
[autoCorr(:,ii),lag(:,ii)] = autocorrelation(dataSource(:,ii));
nexttile(t)
plot(lag(:,ii),autoCorr(:,ii))
end
title(t,’title’)
xlabel(t,’xlabel’)
ylabel(t,’ylabel’)
When I use this code the plot works fine but I’m not sure how to add the x and y axis labels.
autoCorr = zeros(ceil(length(dataSource)),N);
lag = zeros(ceil(length(dataSource)),N);
figure()
tiledlayout(‘flow’)
for ii=1:N
[autoCorr(:,ii),lag(:,ii)] = autocorrelation(dataSource(:,ii));
nexttile
plot(lag(:,ii),autoCorr(:,ii))
% xlim([100,fmax])
end tiled layout, tiledlayout, tiles, plot, subplot MATLAB Answers — New Questions
Dynamic Correction Factor Adjustment in Matlab to Match Slope (Power) in Log-Log Plot
Hello everyone,
I am working on a data analysis task where I need to dynamically adjust a correction factor for a dataset to match a specific slope in a log-log plot. The dataset consists of two main columns: Time (s) and Corrected Data (Factor 0.98578). My objective is to apply a rolling correction factor to the Corrected Data (Factor 0.98578) such that its slope in a log-log plot matches the slope of a reference dataset (which I have as Corrected Data (Factor 0.98578)).
Dynamic Adjustment: The correction factor should start with a 0.98578 and decrease dynamically over time to ensure the slope of the corrected Corrected Data (Factor 0.98578) aligns with the target slope (not necessarly).
I am seeking advice or suggestions on how to implement this in Matlab. Any guidance on formulas, functions, or scripting approaches that could effectively handle this task would be greatly appreciated.
Thank you in advance for your help!Hello everyone,
I am working on a data analysis task where I need to dynamically adjust a correction factor for a dataset to match a specific slope in a log-log plot. The dataset consists of two main columns: Time (s) and Corrected Data (Factor 0.98578). My objective is to apply a rolling correction factor to the Corrected Data (Factor 0.98578) such that its slope in a log-log plot matches the slope of a reference dataset (which I have as Corrected Data (Factor 0.98578)).
Dynamic Adjustment: The correction factor should start with a 0.98578 and decrease dynamically over time to ensure the slope of the corrected Corrected Data (Factor 0.98578) aligns with the target slope (not necessarly).
I am seeking advice or suggestions on how to implement this in Matlab. Any guidance on formulas, functions, or scripting approaches that could effectively handle this task would be greatly appreciated.
Thank you in advance for your help! Hello everyone,
I am working on a data analysis task where I need to dynamically adjust a correction factor for a dataset to match a specific slope in a log-log plot. The dataset consists of two main columns: Time (s) and Corrected Data (Factor 0.98578). My objective is to apply a rolling correction factor to the Corrected Data (Factor 0.98578) such that its slope in a log-log plot matches the slope of a reference dataset (which I have as Corrected Data (Factor 0.98578)).
Dynamic Adjustment: The correction factor should start with a 0.98578 and decrease dynamically over time to ensure the slope of the corrected Corrected Data (Factor 0.98578) aligns with the target slope (not necessarly).
I am seeking advice or suggestions on how to implement this in Matlab. Any guidance on formulas, functions, or scripting approaches that could effectively handle this task would be greatly appreciated.
Thank you in advance for your help! data, importing excel data, slope, data analysis, curve fitting MATLAB Answers — New Questions