Category: News
Touchpad Gesture unavailable
I can’t use two finger scrolling in my laptop while using windows. I can use this feature while using linux/chrome os in my laptop. Ihave tried everything from internet, but the problem isn’t solved yet.
My laptop Modelis Walton Prelude N50
I can’t use two finger scrolling in my laptop while using windows. I can use this feature while using linux/chrome os in my laptop. Ihave tried everything from internet, but the problem isn’t solved yet. My laptop Modelis Walton Prelude N50See, No options are available Read More
Matlab 2022 Arduino Simulink Exceeding Memory Error
Hi,
I’ve done Simulink on Arduino with Matlab 2019b with success.
However, super annoyingly, Simulink Support Package For Arduino Hardware does not include much on Matlab 2019b. So I installed Matlab 2022 + needed add-ons and got way more features to aid my programming. Great!
Now, I suddenly get this error, even with a tiny program to make Digital Output 13 ( onboard LED) to blink with a impulse generator.
ERROR:
Top model targets built: Model Action Rebuild Reason ==================================================================== untitled Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 11.414s
The following error occurred during deployment to your hardware board: The generated code exceeds the available memory on the processor. It uses 134.2% of available program memory and 48.6% of available Data memory.
This doesnt make any sense. I then go back to my Matlab 2019b and make the same program without problems. So I would assume the problem is with Matlab 2022 version.
I’ve googled the error, but people are just saying "your program is taking to much space, try to make it smaller", which I dont think is the correct solution in my case.
Any ideas?
Hardware: Arduino Uno
COM : Automatically
Baudrate: 115200 ( Default)Hi,
I’ve done Simulink on Arduino with Matlab 2019b with success.
However, super annoyingly, Simulink Support Package For Arduino Hardware does not include much on Matlab 2019b. So I installed Matlab 2022 + needed add-ons and got way more features to aid my programming. Great!
Now, I suddenly get this error, even with a tiny program to make Digital Output 13 ( onboard LED) to blink with a impulse generator.
ERROR:
Top model targets built: Model Action Rebuild Reason ==================================================================== untitled Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 11.414s
The following error occurred during deployment to your hardware board: The generated code exceeds the available memory on the processor. It uses 134.2% of available program memory and 48.6% of available Data memory.
This doesnt make any sense. I then go back to my Matlab 2019b and make the same program without problems. So I would assume the problem is with Matlab 2022 version.
I’ve googled the error, but people are just saying "your program is taking to much space, try to make it smaller", which I dont think is the correct solution in my case.
Any ideas?
Hardware: Arduino Uno
COM : Automatically
Baudrate: 115200 ( Default) Hi,
I’ve done Simulink on Arduino with Matlab 2019b with success.
However, super annoyingly, Simulink Support Package For Arduino Hardware does not include much on Matlab 2019b. So I installed Matlab 2022 + needed add-ons and got way more features to aid my programming. Great!
Now, I suddenly get this error, even with a tiny program to make Digital Output 13 ( onboard LED) to blink with a impulse generator.
ERROR:
Top model targets built: Model Action Rebuild Reason ==================================================================== untitled Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 11.414s
The following error occurred during deployment to your hardware board: The generated code exceeds the available memory on the processor. It uses 134.2% of available program memory and 48.6% of available Data memory.
This doesnt make any sense. I then go back to my Matlab 2019b and make the same program without problems. So I would assume the problem is with Matlab 2022 version.
I’ve googled the error, but people are just saying "your program is taking to much space, try to make it smaller", which I dont think is the correct solution in my case.
Any ideas?
Hardware: Arduino Uno
COM : Automatically
Baudrate: 115200 ( Default) arduino, simulink, error, exceed, memory MATLAB Answers — New Questions
Send rich text email notifications in Dynamics Sales
Dear All,
I’m new to Dynamics Sales and this is my first post here.
I have a requirement from my client to send rich text email notifications through a sequence in Dynamics Sales. However, I’ve noticed that Dynamics Sales only provides the option to compose plain text emails for notifications.
Is there a way to enable rich text formatting for email notifications in Dynamics Sales, or are there any workarounds or third-party solutions that can achieve this?
Any guidance or suggestions would be greatly appreciated!
Regards,
MSA.
Dear All, I’m new to Dynamics Sales and this is my first post here. I have a requirement from my client to send rich text email notifications through a sequence in Dynamics Sales. However, I’ve noticed that Dynamics Sales only provides the option to compose plain text emails for notifications. Is there a way to enable rich text formatting for email notifications in Dynamics Sales, or are there any workarounds or third-party solutions that can achieve this? Any guidance or suggestions would be greatly appreciated! Regards,MSA. Read More
Heading-menu-error
This is the 365 version on Windows 11. Support was able to reinstall my version, but the error is still there. They then referred me to this forum here.
Hi, I need help. There is a mistake in my headings. When formatting 1.1, it always puts an additional 1 in front of it.
so that’s how:
1
11.1
1.1.1
1.1.1.1
How do I fix the error?
And how do I change the view for the heading menu? For everyone else it looks different (see picture 2)
This is the 365 version on Windows 11. Support was able to reinstall my version, but the error is still there. They then referred me to this forum here. Hi, I need help. There is a mistake in my headings. When formatting 1.1, it always puts an additional 1 in front of it.
so that’s how:
1
11.1
1.1.1
1.1.1.1
How do I fix the error? And how do I change the view for the heading menu? For everyone else it looks different (see picture 2) Read More
BSOD unknown cause
Hi,
For the last week I’ve been getting random BSOD with different error codes. They have included the following:
I believe it started with APC_INDEX_MISMATCH. I’ve also got BUGCODE_NDIS_DRIVER, DRIVER_VERIFIED_DETECTED_VIOLATION (to capture minidumps), CLOCK_WATCHDOG_TIMEOUT_REGISTRY_FILTER_DRIVER_EXCEPTION.
My specs are the following:
Processor 12th Gen Intel(R) Core(TM) i7-12700K, 3600 Mhz, 12 Core(s), 20 Logical Processor(s)
NVIDIA GeForce RTX 4080
Gigabyte Technology Co., Ltd. System Model Z690 AERO G DDR4
OS Name Microsoft Windows 11 Pro
My pc is 6 months old.
I’ve tried the following:
A computer repair guy did a hard reset of windows 11 and tested all my hardware over a week. He couldn’t find the problem. After the reset it worked for an evening then the next day BSOD again. There is no consistency to the BSOD.
I’ve tried a couple of driver things, tried turning off updates, reupdating windows etc.
Could anyone help?
Thanks,
Hi, For the last week I’ve been getting random BSOD with different error codes. They have included the following:I believe it started with APC_INDEX_MISMATCH. I’ve also got BUGCODE_NDIS_DRIVER, DRIVER_VERIFIED_DETECTED_VIOLATION (to capture minidumps), CLOCK_WATCHDOG_TIMEOUT_REGISTRY_FILTER_DRIVER_EXCEPTION. My specs are the following: Processor 12th Gen Intel(R) Core(TM) i7-12700K, 3600 Mhz, 12 Core(s), 20 Logical Processor(s)NVIDIA GeForce RTX 4080Gigabyte Technology Co., Ltd. System Model Z690 AERO G DDR4OS Name Microsoft Windows 11 ProMy pc is 6 months old. I’ve tried the following: A computer repair guy did a hard reset of windows 11 and tested all my hardware over a week. He couldn’t find the problem. After the reset it worked for an evening then the next day BSOD again. There is no consistency to the BSOD. I’ve tried a couple of driver things, tried turning off updates, reupdating windows etc. Could anyone help? Thanks, Read More
Over-emphasizing peaks in a GMM
I have a GMM made from gmdistribution.fit which I want to modify the probability distribution so as to emphasize the high probabilities even more. For example, if I could square all the individual probabilities and renormalize, it would raise the peaks even higher and concentrate samples into a few peak areas. How is it best to accomplsh this task?I have a GMM made from gmdistribution.fit which I want to modify the probability distribution so as to emphasize the high probabilities even more. For example, if I could square all the individual probabilities and renormalize, it would raise the peaks even higher and concentrate samples into a few peak areas. How is it best to accomplsh this task? I have a GMM made from gmdistribution.fit which I want to modify the probability distribution so as to emphasize the high probabilities even more. For example, if I could square all the individual probabilities and renormalize, it would raise the peaks even higher and concentrate samples into a few peak areas. How is it best to accomplsh this task? gmdistribution, gmm MATLAB Answers — New Questions
4th order partial differentiation equation or matrix form to create 3D vase shape…
I have a 3D matrix with 8x8x8 (x,y,z).so i got 56 points n 16 points for boundary.At first i use a formula of finite difference approximation to the 4th order operator given by
[ 1 ;
1 -4 1 ;
1 -8 20 -8 1 ;
1 -4 1 ;
1 ].
And the boundary when u=0, 0.5cos(v). u=1,0.2cos(v) which v=0:2*pi/8:2*pi. And tangency condition is x(-1,j)=x(1,j)-2hg(j).
h=1/8; X(0,v)=(-0.5cos v,-0.5sin v,-0.5);X(1,v)=(-1cos v,-1sin v,0)
After i form al the matrix,still cannot get the 3D smooth vase shape which is with many colors.i dont know what wrong with my programming in Matlab.
If there is a possibility how its done, that would help me a lot.Thanks for the idea and comments..I have a 3D matrix with 8x8x8 (x,y,z).so i got 56 points n 16 points for boundary.At first i use a formula of finite difference approximation to the 4th order operator given by
[ 1 ;
1 -4 1 ;
1 -8 20 -8 1 ;
1 -4 1 ;
1 ].
And the boundary when u=0, 0.5cos(v). u=1,0.2cos(v) which v=0:2*pi/8:2*pi. And tangency condition is x(-1,j)=x(1,j)-2hg(j).
h=1/8; X(0,v)=(-0.5cos v,-0.5sin v,-0.5);X(1,v)=(-1cos v,-1sin v,0)
After i form al the matrix,still cannot get the 3D smooth vase shape which is with many colors.i dont know what wrong with my programming in Matlab.
If there is a possibility how its done, that would help me a lot.Thanks for the idea and comments.. I have a 3D matrix with 8x8x8 (x,y,z).so i got 56 points n 16 points for boundary.At first i use a formula of finite difference approximation to the 4th order operator given by
[ 1 ;
1 -4 1 ;
1 -8 20 -8 1 ;
1 -4 1 ;
1 ].
And the boundary when u=0, 0.5cos(v). u=1,0.2cos(v) which v=0:2*pi/8:2*pi. And tangency condition is x(-1,j)=x(1,j)-2hg(j).
h=1/8; X(0,v)=(-0.5cos v,-0.5sin v,-0.5);X(1,v)=(-1cos v,-1sin v,0)
After i form al the matrix,still cannot get the 3D smooth vase shape which is with many colors.i dont know what wrong with my programming in Matlab.
If there is a possibility how its done, that would help me a lot.Thanks for the idea and comments.. 4th order partial differentiation equation, 3d matrix, 3d plots MATLAB Answers — New Questions
打开matlab时出现错误:无法与所需的Mathworks服务通信(错误5201),在尝试官网的解决方案后仍然无法解决
尝试为什么我会收到错误 5201 – 无法访问运行 MATLAB 所需的服务?- MATLAB 答案 – MATLAB Central — Why do I receive Error 5201 – Unable to access services required to run MATLAB? – MATLAB Answers – MATLAB Central (mathworks.com)后仍然报错5201尝试为什么我会收到错误 5201 – 无法访问运行 MATLAB 所需的服务?- MATLAB 答案 – MATLAB Central — Why do I receive Error 5201 – Unable to access services required to run MATLAB? – MATLAB Answers – MATLAB Central (mathworks.com)后仍然报错5201 尝试为什么我会收到错误 5201 – 无法访问运行 MATLAB 所需的服务?- MATLAB 答案 – MATLAB Central — Why do I receive Error 5201 – Unable to access services required to run MATLAB? – MATLAB Answers – MATLAB Central (mathworks.com)后仍然报错5201 open MATLAB Answers — New Questions
why am I getting this difference in the plotting?
I have a system of equations:
This system satisfies a relation
where is an initial condition.
For I plotted the relation y in two ways:
First way by solving the system numerically using ode45 with RelTol 1e-12 and AbsTol 1e-15 and by having the solution for x I plotted y.
Second way by solving the equation again with ode45 with Reltol 1e-9 and Abstol 1e-12 and then defining y=… and plotting it.
However, the plots are very different and I don’t understand the reason why:
Here is the plot by first method:
Here is the plot by second method:
Help is appreciated!I have a system of equations:
This system satisfies a relation
where is an initial condition.
For I plotted the relation y in two ways:
First way by solving the system numerically using ode45 with RelTol 1e-12 and AbsTol 1e-15 and by having the solution for x I plotted y.
Second way by solving the equation again with ode45 with Reltol 1e-9 and Abstol 1e-12 and then defining y=… and plotting it.
However, the plots are very different and I don’t understand the reason why:
Here is the plot by first method:
Here is the plot by second method:
Help is appreciated! I have a system of equations:
This system satisfies a relation
where is an initial condition.
For I plotted the relation y in two ways:
First way by solving the system numerically using ode45 with RelTol 1e-12 and AbsTol 1e-15 and by having the solution for x I plotted y.
Second way by solving the equation again with ode45 with Reltol 1e-9 and Abstol 1e-12 and then defining y=… and plotting it.
However, the plots are very different and I don’t understand the reason why:
Here is the plot by first method:
Here is the plot by second method:
Help is appreciated! plot, figure, ode45, differential equations, matlab MATLAB Answers — New Questions
NEWBIE QUESTION POWERSHELL
Hello,
I have just started learning Powershell and have too many questions .
The command
$PSVersionTable
why are we adding $ in front of the command ?
We have several other cmdlets likebut we dont add the $ SIGN In front of them.
get-certificate
get-acl
Thansk
Skaky
Hello,I have just started learning Powershell and have too many questions .The command$PSVersionTablewhy are we adding $ in front of the command ?We have several other cmdlets likebut we dont add the $ SIGN In front of them.get-certificateget-aclThanskSkaky Read More
Why I am I not able to edit appdesigner in Ubuntu?
When I was following the initial tutorial of app designer, I happened to edit the slider word to amplitude but I couldn’t do it. Later I found that I cannot edit anything except drag and drop of components in canvas. Please help me as I need to finish designing a UI soon.
Thanks, Vinayak BhatteWhen I was following the initial tutorial of app designer, I happened to edit the slider word to amplitude but I couldn’t do it. Later I found that I cannot edit anything except drag and drop of components in canvas. Please help me as I need to finish designing a UI soon.
Thanks, Vinayak Bhatte When I was following the initial tutorial of app designer, I happened to edit the slider word to amplitude but I couldn’t do it. Later I found that I cannot edit anything except drag and drop of components in canvas. Please help me as I need to finish designing a UI soon.
Thanks, Vinayak Bhatte edit, appdesigner, ubuntu, linux MATLAB Answers — New Questions
To create (Heat Recovery Steam Generator) HRSG Simulink Model
Hi, so I desired to create HRSG model for simulation purposes (one of the objectives for Final Year Project (FYP), unfortunately since I have a novice background in the mechanical field ( I’m in electrical engineering field), I have no idea where /how to start. Could anyone give me some pointers what info should I look for/ or suggest any open sources / materials of HRSG simulink models to kickstart my project?Hi, so I desired to create HRSG model for simulation purposes (one of the objectives for Final Year Project (FYP), unfortunately since I have a novice background in the mechanical field ( I’m in electrical engineering field), I have no idea where /how to start. Could anyone give me some pointers what info should I look for/ or suggest any open sources / materials of HRSG simulink models to kickstart my project? Hi, so I desired to create HRSG model for simulation purposes (one of the objectives for Final Year Project (FYP), unfortunately since I have a novice background in the mechanical field ( I’m in electrical engineering field), I have no idea where /how to start. Could anyone give me some pointers what info should I look for/ or suggest any open sources / materials of HRSG simulink models to kickstart my project? hrsg, whrb, ccgt, energy recovery heat exchanger, heat exchanger, simulink, mechanical MATLAB Answers — New Questions
Crash Matlab: Simulation initialization very slow – Re-evaluating bus selectors step lasts forever
Following a crash of Matlab, my simulink model is now taking ages to start : the simulation step "Re-evaluating bus selectors: Started" lasts more than 10 minutes while it was super fast previsouly. Is anyone knowing what Simulink is doing during this step? Any idea for a potential fix? (clearing some projects files which may be corrupted?)
ThxFollowing a crash of Matlab, my simulink model is now taking ages to start : the simulation step "Re-evaluating bus selectors: Started" lasts more than 10 minutes while it was super fast previsouly. Is anyone knowing what Simulink is doing during this step? Any idea for a potential fix? (clearing some projects files which may be corrupted?)
Thx Following a crash of Matlab, my simulink model is now taking ages to start : the simulation step "Re-evaluating bus selectors: Started" lasts more than 10 minutes while it was super fast previsouly. Is anyone knowing what Simulink is doing during this step? Any idea for a potential fix? (clearing some projects files which may be corrupted?)
Thx crash, slow simulink simulation init MATLAB Answers — New Questions
Make On-Prem Public Folders Accessible to Exch Online Users-MailUser Obeject sync is confusing me
Howdy Exchange Brain Trust!
I’m working on a exchange server 2019 migration to EXO. Part of it is Public folders but at this stage I do not want to migrate them but simply make them working cross-premises for migrated users.
I’ve followed this official guide from MS – https://learn.microsoft.com/en-us/exchange/hybrid-deployment/set-up-modern-hybrid-public-folders but the first step (Synchronize MailUser objects script execution) output is confusing me.
[PS] C:Temp>.Sync-ModernMailPublicFolders.ps1 -CsvSummaryFile:sync_summary.csv
Checking for mail-enabled System folders…
Found 0 mail-enabled System folders.
Getting all public folders. This might take a while…
Found 200 public folders.
8 of those are mail-enabled.
1 folders are mail-enabled with no AD object.
7 folders are mail-enabled and are properly linked to an existing AD object.
Getting all MailPublicFolder objects…
10 MailPublicFolders are orphaned.
Building EntryId HashSets…
10 orphaned MailPublicFolder objects.
1 of those orphans point to mail-enabled folders that point to some other object.
2 of those orphans point to mail-disabled folders.
Results:
1 folders should be mail-disabled, either because the MailRecipientGuid
does not exist, or because they are system folders. These are listed in the file called:
C:TempFoldersToMailDisable.txt
After confirming the accuracy of the results, you can mail-disable them with the following command:
Get-Content “C:TempFoldersToMailDisable.txt” | % { Disable-MailPublicFolder $_ }
7 MailPublicFolders are orphans and should be deleted. They exist in Active Directory
but are not linked to any public folder. These are listed in a file called:
C:TempMailPublicFolderOrphans.txt
After confirming the accuracy of the results, you can delete them with the following command:
Get-Content “C:TempMailPublicFolderOrphans.txt” | % { $folder = ([ADSI](“LDAP://$_”)); $parent = ([ADSI]”$($folder.Parent)”); $parent.Children.Remove($folder) }
1 MailPublicFolders are duplicates and should be deleted. They exist in Active Directory
and point to a valid folder, but that folder points to some other directory object.
These are listed in a file called:
C:TempMailPublicFolderDuplicates.txt
After confirming the accuracy of the results, you can delete them with the following command:
Get-Content “C:TempMailPublicFolderDuplicates.txt” | % { $folder = ([ADSI](“LDAP://$_”)); $parent = ([ADSI]”$($folder.Parent)”); $parent.Children.Remove($folder) }
The duplicates we are deleting contain email addresses that might still be in use.
To preserve these, we generated a script that will add these to the linked objects for those folders.
After deleting the duplicate objects using the command above, run the script as follows to
populate these addresses:
.C:TempAddAddressesFromDuplicates.ps1
No mail-disabled public folders with proxy GUIDs were found.
2 MailPublicFolders are disconnected from their folders. This means they exist in
Active Directory and the folders are probably functioning as mail-enabled folders,
even while the properties of the public folders themselves say they are not mail-enabled.
This can be complex to fix. Either the directory object should be deleted, or the public folder
should be mail-enabled, or both. These directory objects are listed in a file called:
C:TempMailPublicFoldersDisconnected.txt
Done!
Confirm
Are you sure you want to perform this action?
Performing the operation “Remove File” on target “C:Tempsync_summary.csv”.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): Y
——————————————————-
My Questions are:
1. Does this mean the output of the script was just “observation only” no objects were synced?
2. Also received the error at the end after saying “Y” to the prompt to “Performing the operation “Remove File” on target. Is this only affecting the file removal or overall sync as well?
Any clarity around these questions are really appreciated !! Thank you!
Kev
Howdy Exchange Brain Trust! I’m working on a exchange server 2019 migration to EXO. Part of it is Public folders but at this stage I do not want to migrate them but simply make them working cross-premises for migrated users. I’ve followed this official guide from MS – https://learn.microsoft.com/en-us/exchange/hybrid-deployment/set-up-modern-hybrid-public-folders but the first step (Synchronize MailUser objects script execution) output is confusing me. [PS] C:Temp>.Sync-ModernMailPublicFolders.ps1 -CsvSummaryFile:sync_summary.csvChecking for mail-enabled System folders…Found 0 mail-enabled System folders.Getting all public folders. This might take a while…Found 200 public folders.8 of those are mail-enabled.1 folders are mail-enabled with no AD object.7 folders are mail-enabled and are properly linked to an existing AD object.Getting all MailPublicFolder objects…10 MailPublicFolders are orphaned.Building EntryId HashSets…10 orphaned MailPublicFolder objects.1 of those orphans point to mail-enabled folders that point to some other object.2 of those orphans point to mail-disabled folders. Results: 1 folders should be mail-disabled, either because the MailRecipientGuiddoes not exist, or because they are system folders. These are listed in the file called:C:TempFoldersToMailDisable.txtAfter confirming the accuracy of the results, you can mail-disable them with the following command:Get-Content “C:TempFoldersToMailDisable.txt” | % { Disable-MailPublicFolder $_ } 7 MailPublicFolders are orphans and should be deleted. They exist in Active Directorybut are not linked to any public folder. These are listed in a file called:C:TempMailPublicFolderOrphans.txtAfter confirming the accuracy of the results, you can delete them with the following command:Get-Content “C:TempMailPublicFolderOrphans.txt” | % { $folder = ([ADSI](“LDAP://$_”)); $parent = ([ADSI]”$($folder.Parent)”); $parent.Children.Remove($folder) } 1 MailPublicFolders are duplicates and should be deleted. They exist in Active Directoryand point to a valid folder, but that folder points to some other directory object.These are listed in a file called:C:TempMailPublicFolderDuplicates.txtAfter confirming the accuracy of the results, you can delete them with the following command:Get-Content “C:TempMailPublicFolderDuplicates.txt” | % { $folder = ([ADSI](“LDAP://$_”)); $parent = ([ADSI]”$($folder.Parent)”); $parent.Children.Remove($folder) }The duplicates we are deleting contain email addresses that might still be in use.To preserve these, we generated a script that will add these to the linked objects for those folders.After deleting the duplicate objects using the command above, run the script as follows topopulate these addresses:.C:TempAddAddressesFromDuplicates.ps1 No mail-disabled public folders with proxy GUIDs were found. 2 MailPublicFolders are disconnected from their folders. This means they exist inActive Directory and the folders are probably functioning as mail-enabled folders,even while the properties of the public folders themselves say they are not mail-enabled.This can be complex to fix. Either the directory object should be deleted, or the public foldershould be mail-enabled, or both. These directory objects are listed in a file called:C:TempMailPublicFoldersDisconnected.txt Done! ConfirmAre you sure you want to perform this action?Performing the operation “Remove File” on target “C:Tempsync_summary.csv”.[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): Y ——————————————————- My Questions are:1. Does this mean the output of the script was just “observation only” no objects were synced? 2. Also received the error at the end after saying “Y” to the prompt to “Performing the operation “Remove File” on target. Is this only affecting the file removal or overall sync as well? Any clarity around these questions are really appreciated !! Thank you! Kev Read More
How to read road network data off a map in MATLAB?
Hello everyone,
I am working on Electric vehicle charging station location and plannimng problem. The idea is, that given any city map, we should be able to plan and size the Electric vehicle charging stations locations on a map. For the same, I want to be able to input the city map via google, OpenStreet etc, and my code should be able to read the road network details, like nodes, distance, width, unidirectional or bidirectional road etc.
To be honest, I have made zero progress in that. Using geoplot function, I can read the location, and I can also see the road layout, but Im not able to get anything more out of it.
I already read the document on roadprops,but it isnt useful. I figured its something to do with image processing.
Any help or an example or links would be appreciatedHello everyone,
I am working on Electric vehicle charging station location and plannimng problem. The idea is, that given any city map, we should be able to plan and size the Electric vehicle charging stations locations on a map. For the same, I want to be able to input the city map via google, OpenStreet etc, and my code should be able to read the road network details, like nodes, distance, width, unidirectional or bidirectional road etc.
To be honest, I have made zero progress in that. Using geoplot function, I can read the location, and I can also see the road layout, but Im not able to get anything more out of it.
I already read the document on roadprops,but it isnt useful. I figured its something to do with image processing.
Any help or an example or links would be appreciated Hello everyone,
I am working on Electric vehicle charging station location and plannimng problem. The idea is, that given any city map, we should be able to plan and size the Electric vehicle charging stations locations on a map. For the same, I want to be able to input the city map via google, OpenStreet etc, and my code should be able to read the road network details, like nodes, distance, width, unidirectional or bidirectional road etc.
To be honest, I have made zero progress in that. Using geoplot function, I can read the location, and I can also see the road layout, but Im not able to get anything more out of it.
I already read the document on roadprops,but it isnt useful. I figured its something to do with image processing.
Any help or an example or links would be appreciated image processing, maps, road MATLAB Answers — New Questions
Count unique vector in a sequence
Hello,
I have a sequence of 16 column vectors v_n with dimension 4×1: [ v_1 v_2 … v_16 ]
How can I count the number of different vectors in this sequence?
ThanksHello,
I have a sequence of 16 column vectors v_n with dimension 4×1: [ v_1 v_2 … v_16 ]
How can I count the number of different vectors in this sequence?
Thanks Hello,
I have a sequence of 16 column vectors v_n with dimension 4×1: [ v_1 v_2 … v_16 ]
How can I count the number of different vectors in this sequence?
Thanks unique MATLAB Answers — New Questions
No effect is observed when I try to use StartVector in eigs to improve numerical efficiency
I test the efficiency of using a good StartVector in eigs.
The code is quite simple.
First, I use eigs to figure out the eigenvector v1,
then I use this eigenvector v1 as the StartVector to run eigs again.
I expect that much less time might be needed now.
Nevertheless,
the time cost shows no improvement at all.
My code is as follows
———————————————————————-
format long
n = 3000;
A = rand(n,n);
A = A + A’;
tic
[v1,eta1]=eigs(@(vec)test_eigs(vec,A),n,1,’lm’,’Display’,0,’IsFunctionSymmetric’,0,’MaxIterations’,300);
toc
StartVector = v1;
tic
[v2,eta2]=eigs(@(vec)test_eigs(vec,A),n,1,’lm’,’Display’,0,’IsFunctionSymmetric’,0,’MaxIterations’,300,’StartVector’,StartVector);
toc
eta1
eta2
function vec1 = test_eigs(vec0,A)
vec1 = A * vec0;
end
————————————————————————————
The output is as follows
~~~~~~~~~~~~~~~~~~~~~~
Elapsed time is 0.069811 seconds.
Elapsed time is 0.066047 seconds.
eta1 =
3.000980119229400e+03
eta2 =
3.000980119229400e+03
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So my question is,
is there anything wrong in my understanding about StartVector in eigs?
Any suggestion or comment would be greatly appreciated.I test the efficiency of using a good StartVector in eigs.
The code is quite simple.
First, I use eigs to figure out the eigenvector v1,
then I use this eigenvector v1 as the StartVector to run eigs again.
I expect that much less time might be needed now.
Nevertheless,
the time cost shows no improvement at all.
My code is as follows
———————————————————————-
format long
n = 3000;
A = rand(n,n);
A = A + A’;
tic
[v1,eta1]=eigs(@(vec)test_eigs(vec,A),n,1,’lm’,’Display’,0,’IsFunctionSymmetric’,0,’MaxIterations’,300);
toc
StartVector = v1;
tic
[v2,eta2]=eigs(@(vec)test_eigs(vec,A),n,1,’lm’,’Display’,0,’IsFunctionSymmetric’,0,’MaxIterations’,300,’StartVector’,StartVector);
toc
eta1
eta2
function vec1 = test_eigs(vec0,A)
vec1 = A * vec0;
end
————————————————————————————
The output is as follows
~~~~~~~~~~~~~~~~~~~~~~
Elapsed time is 0.069811 seconds.
Elapsed time is 0.066047 seconds.
eta1 =
3.000980119229400e+03
eta2 =
3.000980119229400e+03
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So my question is,
is there anything wrong in my understanding about StartVector in eigs?
Any suggestion or comment would be greatly appreciated. I test the efficiency of using a good StartVector in eigs.
The code is quite simple.
First, I use eigs to figure out the eigenvector v1,
then I use this eigenvector v1 as the StartVector to run eigs again.
I expect that much less time might be needed now.
Nevertheless,
the time cost shows no improvement at all.
My code is as follows
———————————————————————-
format long
n = 3000;
A = rand(n,n);
A = A + A’;
tic
[v1,eta1]=eigs(@(vec)test_eigs(vec,A),n,1,’lm’,’Display’,0,’IsFunctionSymmetric’,0,’MaxIterations’,300);
toc
StartVector = v1;
tic
[v2,eta2]=eigs(@(vec)test_eigs(vec,A),n,1,’lm’,’Display’,0,’IsFunctionSymmetric’,0,’MaxIterations’,300,’StartVector’,StartVector);
toc
eta1
eta2
function vec1 = test_eigs(vec0,A)
vec1 = A * vec0;
end
————————————————————————————
The output is as follows
~~~~~~~~~~~~~~~~~~~~~~
Elapsed time is 0.069811 seconds.
Elapsed time is 0.066047 seconds.
eta1 =
3.000980119229400e+03
eta2 =
3.000980119229400e+03
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So my question is,
is there anything wrong in my understanding about StartVector in eigs?
Any suggestion or comment would be greatly appreciated. eigs MATLAB Answers — New Questions
Random numbers from array
Suppose I have the following array A=[2,1,5,6,20,55,6,9,100,1000,325,2301] which contains distinct numbers
I want to select for example four elements from the array randomly and then delete them from the original array. For example if the selected numbers were 20,2,9,325 so the new array R=[20,2,9,325] and A=the remaining elements.Suppose I have the following array A=[2,1,5,6,20,55,6,9,100,1000,325,2301] which contains distinct numbers
I want to select for example four elements from the array randomly and then delete them from the original array. For example if the selected numbers were 20,2,9,325 so the new array R=[20,2,9,325] and A=the remaining elements. Suppose I have the following array A=[2,1,5,6,20,55,6,9,100,1000,325,2301] which contains distinct numbers
I want to select for example four elements from the array randomly and then delete them from the original array. For example if the selected numbers were 20,2,9,325 so the new array R=[20,2,9,325] and A=the remaining elements. random num, random numbers; array operations MATLAB Answers — New Questions
Write an office script to create two table
I want to ask how to write an office script to make the main table to two tables like the picture. Thanks!
The main table is the expense claims from employees. I need to split it into two tables for our finance department. Thanks! I have attached the Excel document.
I want to ask how to write an office script to make the main table to two tables like the picture. Thanks!The main table is the expense claims from employees. I need to split it into two tables for our finance department. Thanks! I have attached the Excel document. Read More
Inability to generate maps using excel
Hello Excel family, when I try to generate maps using Microsoft Excel, I am told “cannot intialize DirectX…”. How do I fix this?
Hello Excel family, when I try to generate maps using Microsoft Excel, I am told “cannot intialize DirectX…”. How do I fix this? Read More