Answered
Manipulating an input variable for newton raphson numerical method
I see that in the equation y = (x.^(-1/2))+(0.86*log(((0.0001)/3.7)+((2.51/Re)*x.^(-1/2)))); you are dividing a scalar v...

3 years ago | 1

| accepted

Answered
I have a rotary encoder connected to my arduino to measure velocity, how can I read that output with matlab?
It is possible to read the sensor data from Arduino using MATLAB. Following links will give more details about the same: <htt...

3 years ago | 2

Answered
Importing multiple csv files with header as a table while preserving their names manually?
I hope below MATLAB answer post will help you: <https://www.mathworks.com/matlabcentral/answers/48410-how-to-read-multiple-cs...

3 years ago | 1

Answered
How to obtain and formatting a table of data from a URL?
Please go through the below MATLAB answer and File Exchange posts: <https://www.mathworks.com/matlabcentral/answers/315088-ho...

3 years ago | 1

Answered
How to compile from a linux command line matreadstructarray.c using gcc?
I found the similar issue being discussed in the below MATLAB answer post: <https://www.mathworks.com/matlabcentral/answers/2...

3 years ago | 1

Answered
Installing Lightspeed on R2017b
Lightspeed toolbox is not the toolbox provided by MathWorks. Please note that MathWorks is not responsible for any kind of use a...

3 years ago | 1

Answered
Combining multiple Excel spreadsheets into one (strings + numerical values)
There are many functions available in MATLAB to read specified columns from excel and write it to the other excel file. I hope f...

3 years ago | 1

Answered
MATLAB coder - compiler does not support OpenMP error (using a supported compiler)
Please refer to the "Notes for the Mac Platform" section in the below document: <https://www.mathworks.com/support/compilers....

3 years ago | 1

Answered
Conditional formating for certain points in plot
Group the data set depending on the value. Then use the "hold on" option to do the scatter plot with different colors in the sam...

3 years ago | 0

Answered
simulink does not start on solus
Solus is not officially supported for MATLAB. However, please try the workaround suggested in the below External Bug Report link...

3 years ago | 0

Answered
How to zoom on editor?
Please try to turn off the zoom by executing below command: zoom off Refer this document for more information: <https...

3 years ago | 0

Answered
Linking raspberry pi to Matlab via internet connection when raspberry pi is on 3G connection
Please refer the below MATLAB answer link: <https://www.mathworks.com/matlabcentral/answers/164392-how-do-i-use-the-raspberry...

3 years ago | 0

Answered
Arduino/ Simulink Project: ' Error occurred while executing External Mode'. Where is the Problem?
This error is due to MATLAB is not able to connect with the Hardware. It might be the case that the drivers are not installed pr...

3 years ago | 0

Answered
Where does fopen open a new file?
If you are using MATLAB function directly without the dll, fopen() will create the file in the current directory. If the dll is ...

3 years ago | 0

Answered
MATLAB feature extraction techniques to detect a relatively smaller object
I hope below examples will help you: <https://in.mathworks.com/help/vision/examples/object-detection-in-a-cluttered-scene-usi...

3 years ago | 0

Answered
A custom level-2 Simulink routine generates thsi error: "unknown frame status for its output port 1". I want "sample" output, not frame. I am not using DSP. I've tried many options for 2 hours. error persists
There is a bug in Simulink 6.1 (R14SP1) if you are using it, when using a level 2 MATLAB file S-function with more than one outp...

3 years ago | 1

Answered
Hi guys I am trying to use the npr tool however am unable to select the input and the target data.
According to the details given, I suspect that the inputs are chosen in a wrong manner. There is an option available int he tool...

3 years ago | 0

| accepted

Answered
How do I use Simulink.HMI programmatically?
Unfortunately the programmatic interaction with the HMI blocks are limited, however we have taken the feedback to enhance the sa...

3 years ago | 0

| accepted

Answered
Time lag between 2 series: comparing xcorr max with corrcoef with different lags
I am not sure if I understood your question completely. I sense that you are not expecting the higher correlation coefficient va...

3 years ago | 0

| accepted

Answered
Problem with starting parpool
This error may occur due to inaccessibility of pathdef.m for MATLAB. Please try the following workaround Try running the foll...

3 years ago | 4

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Answered
FFT of a summation
To calculate _fft_ the signal should be discrete. You should first sample your signal. Use t=nTs, where Ts is the sampling time....

3 years ago | 0

Answered
Calculate only fraction of spectrum with FFT
MATLAB uses built-in multi threading for the _fft_ command. So it will over-perform any user defined code for calculating fft po...

3 years ago | 0

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

3 years ago

Solved


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

3 years ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

3 years ago

Answered
What determines how many times a function is called in simulink?
This is a very interesting question. This will help to understand how the Simulink solver will work. The main reason behind t...

3 years ago | 4

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

3 years ago

Solved


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The *values of B are in the s...

3 years ago

Solved


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

3 years ago

Load more