photo

Net Fre


Last seen: 2 days ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Question


Generate Code for classes methods
Hi. This is more of a clarification question than a "how to", because I got the MATLAB answer and it works, but I have a questi...

5 months ago | 1 answer | 0

1

answer

Question


unable to generate code with 'collisionMesh' function.
Hi. I am trying to create a .mex file using the coder app. The function I am trying to convert uses the collisionMesh and chec...

5 months ago | 1 answer | 0

1

answer

Question


MATLAB runtime with multiple versions on computer.
Hi! I am trying to export an application made with the app designer in R2020b to a standalone application, that people without ...

2 years ago | 1 answer | 0

1

answer

Answered
Unstable Closed Loop Poles
Using the rlocus function, you can see that up to a certain value of C (around 0.4 in your case) your closed loop will still be ...

3 years ago | 0

Answered
How can I update the constant block parameters from the text/csv data file based on the amplitude of the input signal?
Seems like a classic case for a lookup table. There's also a video about it: https://www.youtube.com/watch?v=HmfwKoFHrO4

3 years ago | 0

Answered
Write a function called rand_test
You can use reshape for that: function [m v] = rand_test(n) m = rand(n^2,1) v = reshape(m,[n,n]) end

3 years ago | 1

| accepted

Answered
similarity between closely related signals
You can create a vector calculating the difference between the two, and then find the first index where it is larger than a spec...

3 years ago | 0

| accepted

Answered
How to export .mat file to excel different sheets
In the function xlswrite you can specify the sheet you want to write into: xlswrite(filename,A,sheet) Then you can loop over t...

3 years ago | 1

Answered
How to add a legend to a plot from fitlm function?
Notice that using the fitlm function creates an object called 'LinearModel' containing the data you need (and much more). You c...

3 years ago | 0

| accepted

Answered
cut of zeros from a matrix based on the longest non-zero row
Hi You can use the cumprod function. your code line can look like this: % a = some matrix idx = max(sum(cumprod(a~=0,2)),2) ...

3 years ago | 0

Answered
Function with for loop to calculate power mean
When you build a function, it expects you to do something with the parameters you assigned for it. In this case, the parameter ...

3 years ago | 0

| accepted

Question


Make persistant changes in executable app by user
Hi! I am creating a stand-alone application which gets an excel sheet uploaded, and displays data based on it. Thing is, a spe...

3 years ago | 2 answers | 0

2

answers