MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
Subscripting into an mxArray
tanneer - 2020-12-15

given below is a part of the code i am writing for kalman filter but got error while converting from .m to .c/.c++   white_gauss=wgn(1,37000,20); q1=...

Matlab Home. Possible to get the coders?
frinchflips - 2020-12-15

Hi Guys, I have tried contacting sales but it looks like they don't answer questions about Student or Home edition! I am looking to get MatLab as a ho...

My loop returns imaginary results!
tavneesh - 2020-12-15

I write this simple code in a loop, and I obtain unwabted imaginary results. Could you please tell me where my mistake is:   SO = 0.5 .* ones(10,1); ...

How to write data to text file on raspberry pi using matlab
resh - 2020-12-15

Hello everyone, I'm making a project with Raspberry pi and Matlab , I successfully to generate the code to Raspberry Pi and make it run standalone. No...

Codegen saying variable is constrained to being non-complex when it's defined as complex
shnowangle - 2020-12-15

why I'd get this error: The left-hand side has been constrained to be non-complex, but the right-hand side is complex. To correct this problem, make t...

How to avoid Main file and interface file system for Code Generation ?
petter - 2020-12-15

Case 1. We are working on a modular function model (separate .slx for each component), so when we generate a code for model all model having ert_main....

First argument must be a vector.; Function call failed.
raztiwaripersonal - 2020-12-14

I am trying to conver a function to C using coder. I am using inbuilt function 'filtfilt'. Function executes properly but when i try to convert it to ...

Why does the code generated for 'ismember' function
frinchflips - 2020-12-14

Why does the code generated for 'ismember' function contain a variable 'absxk' with value "1.4013E-45F" ? The code generated for 'ismember' function c...

USING MEX TO SPEED UP THE CODE
remshwer - 2020-12-14

I have a matlab code which is computationally intensive and takes more than affordable time to run. I am told mex can be of help. So I have tried conv...

Error while plotting matrix of complex numbers
Ralph - 2020-12-14

clc clear all sub=[ -1.1691 + 113.64i; -9.0587 + 137.23i; -10.221 + 166.23i; -9.6819 + 197.8i; -8.5346 + 233.76i; -1.1691 - 113.64i; -9.0587 - 137.23i...

Get a Free Consultation or a Sample Assignment Review!