MATLAB
Spoken Languages:
English
Pronouns:
No pronouns - Use my name only
Professional Interests:
Biomedical Engineering, Medical Devices
Statistics
RANK
445
of 295,495
REPUTATION
174
CONTRIBUTIONS
4 Questions
73 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
19
RANK
of 20,240
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
write table on screen
I'd use table, where you can store all the info on your picture. In MATLAB, you can convert most of the information from one dat...
1 year ago | 1
Assign array in field struct
Sis = struct(); Sis.b = 1:82' Sis.b(1) Sis.b(10) Hope this helps.
1 year ago | 0
Variable updated in for loop iteration
I tested your code and revenue and budget_i were being updated. I have no idea what the purpose of your script is, and thus I d...
1 year ago | 0
| accepted
How to further extract a match values from a regexp match
If you use 'tokens' instead of match. string = 'hello_2_goodbye_0.23_hi_1.55_exit_1000'; pattern = 'hello_(\d+\.*\d*)'; mat...
1 year ago | 0
| accepted
Set matrix element to zero for some condition
Hi, my approach would be as follows: % Matrix 5x5 with random numbers 0-10 M = randi(10, 5) % Create logical vector of numbe...
1 year ago | 0
| accepted
How can I restrict a parameter (turbulence intensity) to only positive values?
hi, i took a peek at your code and it's massive. therefore i came just to say that if you have a value, where you only want the...
1 year ago | 0
| accepted
Unique name detection in table headers
Hello, I extracted all your data from last columns, which is 300 numbers. And because I knew that every table contains 10 value...
1 year ago | 0
Using zip('test', 'data.txt') Cannot open file "data.txt" for reading
Hi, just an idea: since you are using a new computer, there may be a possibility that you do not have accurately described path ...
1 year ago | 0
| accepted
Why this for loop showing this error?
I have tried your code and it seems like your for loop isn't triggered at all. Which means, none of the calculations happen and ...
1 year ago | 0
how to merge / unite / connect two curves smoothly if there is missing data in betwwen?
Hello, you have to interpolate the data. After interpolation you will know what the approximate values are at the place where y...
1 year ago | 1
| accepted
why is my code is not working?
You cannot use special symbols for variables. You can only use numbers letters underscore ( _ ) Rename your variable.
1 year ago | 0
bug in multiplication operations
There's probably a small error due to number being represented by bits. Number is too long and detailed, and Matlab is having a ...
1 year ago | 2
How to this convert matlab code to python code?
This requires knowledge of both languages. If you don't know Python, and have nobody to help you, you can try AI. I've prompted...
1 year ago | 0
how to sine wave plot
Hello, I'm sorry to tell you but Mathworks Answers is not a homework service. We do believe that it's best for you to try on yo...
1 year ago | 0
where is the error in this code?
In computer programming, when dealing with floating-point numbers, there can be slight differences in how these numbers are repr...
1 year ago | 0
Getting all values in the same field for different entries within a structure
Try arrayfun (use function on the struct to extract the values into the array). An example on your data: % Your data student(...
1 year ago | 1
| accepted
First number in foor loop
Hello, you already know the whole vector h. If you want it's first value, you can keep saving the h value into a vector, and th...
1 year ago | 0
Problems with loops in matrix operations
To fix this, you need to transpose the 16x1 vector from matrix1 so that it becomes a 1x16 row vector. This way, when you multipl...
1 year ago | 0
Subsetting an n-d array with no loop
Could this work for you? It may be too "sample specific" instead working for every example. This script generates a 4D array A ...
1 year ago | 0
| accepted
How to obtain argument value of an equation
My approach: f = @(x) x^2; % function example [max_val, max_idx] = fminbnd(@(x) -f(x), -10, 10); % find maximum value of th...
1 year ago | 0
MATLAB 2023a: How to assign multiple values(keys?) to one key using dictionaries?
I think you could approach this via structures, which make sense to me. There's also something called map containers, however I ...
1 year ago | 1
| accepted
summation of matrix function
this looks like homework. i'll try to guide you, but be aware that you won't learn anything by letting others do your homework ...
1 year ago | 0
How to select a value from a vector that satisfies certain conditions
% Your vectors lower_bound = [1 2 3 4 5 1 2 3 4 5 1 2 3 4 5]; upper_bound = [2 3 4 5 6 2 3 4 5 6 2 3 4 5 6]; vec = [1 2 3 4 5...
1 year ago | 0
| accepted
How I can find a specific word in a notepad text?
I have created and attached a file with Lorem Ipsum text as an example. Now, I will try to show you how to find word 'ipsum' an...
1 year ago | 1
finding the transformation vector?
A = [1 2 2 3 3 3 4 4 4 4]; B = [4 1 4 4 1 1 2 4 6 5]; x = B./A
1 year ago | 0
How to combine two tables using sorted common variable?
hi, i will try. it definitely can be more automated, i made it semi-automated, but it works! hope i helped! well, i tried. Ste...
1 year ago | 0
Somebody help me on how to solve the question i have asked just below the file below
hello, quite bold of you to straight up post screenshot of your homework assigment. while your homework seems to be simple, we...
1 year ago | 0
| accepted
How to average a dense set of data using desired resolution
hey, what you could do is as follows. to simplify this, let's assume that the length of the data is 1000. divide your data, on...
1 year ago | 1
| accepted
call one code as a function in another code
hey, if you want to use your script as a function, you need few things. it seems like you are not familiar with creating funct...
1 year ago | 1
Excel Data import based on title cell.
After you read the table, you could simply search for the consistent names in your row. Then, you could specify which columns yo...
1 year ago | 0
| accepted