Solved

The Goldbach Conjecture

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

2 years ago

Answered

How to set disableDefaultInteractivity for all axes?

In order to disable default interactivity for all created axes, you can use the following command: >> set(groot,'defaultAxesCre...

How to set disableDefaultInteractivity for all axes?

In order to disable default interactivity for all created axes, you can use the following command: >> set(groot,'defaultAxesCre...

2 years ago | 0

| accepted

Answered

Printing "Scope" plots.

It would be better if you can specify what is actual issue with printed output. But I can suggest to try print to figure using ...

Printing "Scope" plots.

It would be better if you can specify what is actual issue with printed output. But I can suggest to try print to figure using ...

2 years ago | 0

| accepted

Answered

How can i set accuracy of points in a graph?

Assuming you want to retrieve points from graph with more precision, below link might be useful: https://in.mathworks.com/matl...

How can i set accuracy of points in a graph?

Assuming you want to retrieve points from graph with more precision, below link might be useful: https://in.mathworks.com/matl...

2 years ago | 0

Answered

Reading MRI images with .raw format

Below links might be useful: https://in.mathworks.com/matlabcentral/answers/267922-read-raw-format https://in.mathworks.com/ma...

Reading MRI images with .raw format

Below links might be useful: https://in.mathworks.com/matlabcentral/answers/267922-read-raw-format https://in.mathworks.com/ma...

2 years ago | 0

Answered

how to plot shading background color and shading marker face color

Below link might be useful: https://in.mathworks.com/matlabcentral/fileexchange/29797-add-a-background-gradient-to-plots

how to plot shading background color and shading marker face color

Below link might be useful: https://in.mathworks.com/matlabcentral/fileexchange/29797-add-a-background-gradient-to-plots

2 years ago | 0

| accepted

Answered

Changing background colors in app designer: UI Radio buttons and UI Check boxes

As of now there is no way to set the white color of radio button or checkbox directly. As a workaround, you can try below thing...

Changing background colors in app designer: UI Radio buttons and UI Check boxes

As of now there is no way to set the white color of radio button or checkbox directly. As a workaround, you can try below thing...

2 years ago | 0

| accepted

Solved

Return the 3n+1 sequence for n

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

2 years ago

Solved

Elapsed Time

Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

2 years ago

Answered

How do i do a thousand simulation in a fast way?

This blog might help you: https://blogs.mathworks.com/simulink/2010/12/06/5-resources-for-simulation-performance/

How do i do a thousand simulation in a fast way?

This blog might help you: https://blogs.mathworks.com/simulink/2010/12/06/5-resources-for-simulation-performance/

2 years ago | 0

Answered

Import in workspace large data set from .txt file

Below link mentions different methods which can help you out to work on big files and large data. https://in.mathworks.com/help...

Import in workspace large data set from .txt file

Below link mentions different methods which can help you out to work on big files and large data. https://in.mathworks.com/help...

2 years ago | 0

Answered

How to draw curve between points to make a spiral?

Please refer below MLAnswer link: https://in.mathworks.com/matlabcentral/answers/431465-plotting-a-spiral-in-matlab-knowing-the...

How to draw curve between points to make a spiral?

Please refer below MLAnswer link: https://in.mathworks.com/matlabcentral/answers/431465-plotting-a-spiral-in-matlab-knowing-the...

2 years ago | 0

Answered

Save new image as tif

As per my understanding size of the image will depend on compression technique that we are using and also as header size will di...

Save new image as tif

As per my understanding size of the image will depend on compression technique that we are using and also as header size will di...

2 years ago | 0

| accepted

Answered

how to calculate curl of Laguerre-Gaussian modes?

Refer below link: https://www.mathworks.com/help/symbolic/curl.html

how to calculate curl of Laguerre-Gaussian modes?

Refer below link: https://www.mathworks.com/help/symbolic/curl.html

2 years ago | 0

| accepted

Answered

How to read data sent from matlab in arduino?

As per my understanding, serial data is not available to read in both cases. Check status of serial object after open and Value...

How to read data sent from matlab in arduino?

As per my understanding, serial data is not available to read in both cases. Check status of serial object after open and Value...

2 years ago | 0

Answered

How to get input and output names of a below subsystem?

As per my understanding you can use ‘find_system’ command with Blocktype and SearchDepth parameters. >> find_system('modelName'...

How to get input and output names of a below subsystem?

As per my understanding you can use ‘find_system’ command with Blocktype and SearchDepth parameters. >> find_system('modelName'...

2 years ago | 0

Answered

How can I collect data from two different sources simultaneously?

As per my understanding, you can use the Parallel Computing Toolbox's SPMD feature to do this. The other alternative is to do ti...

How can I collect data from two different sources simultaneously?

As per my understanding, you can use the Parallel Computing Toolbox's SPMD feature to do this. The other alternative is to do ti...

2 years ago | 0

Answered

Generate PDF report from Word Template

You can use report explorer to generate report for word document. Use below command to open report explorer for that file: >> ...

Generate PDF report from Word Template

You can use report explorer to generate report for word document. Use below command to open report explorer for that file: >> ...

2 years ago | 0

Answered

Keep getting "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side."

As per my understanding Line no. 41 and 43 should contain t(i) instead of t. Line no. 43 should be Qsa(i) = (Qmax.*(Ts-t(i))...

Keep getting "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side."

As per my understanding Line no. 41 and 43 should contain t(i) instead of t. Line no. 43 should be Qsa(i) = (Qmax.*(Ts-t(i))...

2 years ago | 0

Solved

Remove the vowels

Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

2 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

2 years ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

2 years ago

Answered

createInputDataset() is deleting all the data in my workspace. Why?

Please follow steps given in below link and it's working fine on my system. https://www.mathworks.com/help/simulink/slref/creat...

createInputDataset() is deleting all the data in my workspace. Why?

Please follow steps given in below link and it's working fine on my system. https://www.mathworks.com/help/simulink/slref/creat...

2 years ago | 0

Answered

How can I plot multiple dots in single graph?

Try to use scatter plot. there is option to plot with different colors as well. You can refer the below link: https://www.math...

How can I plot multiple dots in single graph?

Try to use scatter plot. there is option to plot with different colors as well. You can refer the below link: https://www.math...

2 years ago | 0

Answered

Matlab command for Simulink Goto 'rename all' button?

As per my understanding, there is no direct way to call 'rename all' button of goto block's window from matlab command line. But...

Matlab command for Simulink Goto 'rename all' button?

As per my understanding, there is no direct way to call 'rename all' button of goto block's window from matlab command line. But...

2 years ago | 0

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

2 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

2 years ago

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

2 years ago

Solved

Summing digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

2 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

2 years ago